21 lines
323 B
C
21 lines
323 B
C
|
#ifndef WORKER_THREAD_H_INCLUDED
|
||
|
#define WORKER_THREAD_H_INCLUDED
|
||
|
|
||
|
#include <QThread>
|
||
|
|
||
|
class WorkerThread : public QThread {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit WorkerThread(QObject *parent = nullptr);
|
||
|
~WorkerThread();
|
||
|
|
||
|
|
||
|
private:
|
||
|
void run() override;
|
||
|
|
||
|
bool m_quit = false;
|
||
|
};
|
||
|
|
||
|
#endif // WORKER_THREAD_H_INCLUDED
|