22 lines
345 B
C
22 lines
345 B
C
|
#pragma once
|
|||
|
|
|||
|
#include <QObject>
|
|||
|
|
|||
|
class manualThread : public QObject
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
|
|||
|
public:
|
|||
|
explicit manualThread(QObject *parent = nullptr);
|
|||
|
//<2F>̴߳<DFB3><CCB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
void funThread_A();
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><DFB3>б<EFBFBD>־,<2C><><EFBFBD><EFBFBD>ֹͣ<CDA3>߳<EFBFBD>
|
|||
|
void setStopFlag(bool flag = true);
|
|||
|
void setPauseFlag(bool flag = true);
|
|||
|
|
|||
|
private:
|
|||
|
//<2F>̹߳<DFB3><CCB9><EFBFBD><EFBFBD><EFBFBD>־
|
|||
|
bool isStop;
|
|||
|
bool isPause;
|
|||
|
};
|