| 12345678910111213141516171819202122232425262728293031 |
- #ifndef PROCESSTHREAD_H
- #define PROCESSTHREAD_H
- #include <QObject>
- #include <QThread>
- #include "processmonitor.h"
- class ProcessThread : public QThread
- {
- Q_OBJECT
- public:
- explicit ProcessThread(QObject *parent = nullptr);
- Q_SIGNALS:
- void messageBox(const QString &text,
- const QVariant &messageBoxPointX,
- const QVariant &messageBoxPointY,
- const QVariant &messageTitle);
- private:
- bool upDataProcessSql();
- protected:
- void run() override;
- void sendExitTime(qint64 updataTime);
- ProcessMonitor processMonitor;
- };
- #endif // PROCESSTHREAD_H
|