18 lines
238 B
C
18 lines
238 B
C
|
#ifndef MYTHREAD_H
|
||
|
#define MYTHREAD_H
|
||
|
|
||
|
#include <QThread>
|
||
|
|
||
|
class MyThread : public QThread
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
MyThread(QObject *parent = nullptr);
|
||
|
virtual ~MyThread();
|
||
|
|
||
|
signals:
|
||
|
void cancelWork();
|
||
|
};
|
||
|
|
||
|
#endif // MYTHREAD_H
|