blob: ef0629ae820de3eccf5b9f3eedfe864b334131ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef THREADWITHEVENTLOOP_H
#define THREADWITHEVENTLOOP_H
#include <QObject>
#include <QThread>
class ThreadWithEventLoop : public QThread
{
Q_OBJECT
public:
ThreadWithEventLoop(QObject* parent = nullptr);
~ThreadWithEventLoop();
protected:
void run() Q_DECL_OVERRIDE;
};
#endif // THREADWITHEVENTLOOP_H
|