29 lines
494 B
C
29 lines
494 B
C
|
|
#ifndef DERIVEDQTHREAD_H
|
|||
|
|
#define DERIVEDQTHREAD_H
|
|||
|
|
|
|||
|
|
#include <QObject>
|
|||
|
|
#include <QProcess>
|
|||
|
|
#include <QThread>
|
|||
|
|
#include <QDateTime>
|
|||
|
|
#include <QCryptographicHash>
|
|||
|
|
class DerivedQThread : public QThread
|
|||
|
|
{
|
|||
|
|
Q_OBJECT
|
|||
|
|
public:
|
|||
|
|
explicit DerivedQThread(const QString &exe, QObject *parent = 0);
|
|||
|
|
void run();
|
|||
|
|
public:
|
|||
|
|
QString mid;
|
|||
|
|
protected:
|
|||
|
|
QString mExe;
|
|||
|
|
|
|||
|
|
|
|||
|
|
signals:
|
|||
|
|
void finishedptr(QThread *);
|
|||
|
|
protected slots:
|
|||
|
|
void customedfinished();
|
|||
|
|
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#endif // DERIVEDQTHREAD_H
|