You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
524 B
32 lines
524 B
#ifndef DOCTHREAD_H |
|
#define DOCTHREAD_H |
|
|
|
#include <QObject> |
|
#include <QThread> |
|
|
|
class docthread : public QObject |
|
{ |
|
Q_OBJECT |
|
public: |
|
explicit docthread(QObject *parent = nullptr); |
|
void settestmode(bool b){ |
|
b_testmode = b; |
|
}; |
|
|
|
public slots: |
|
void gendoc(QStringList msg); |
|
void slotsetlow(QString lowfile); |
|
void slotsethigh(QString highfile); |
|
signals: |
|
|
|
private: |
|
QThread* t; |
|
QString lowfile; |
|
QString highfile; |
|
bool b_testmode; |
|
|
|
int testcount; |
|
|
|
}; |
|
|
|
#endif // DOCTHREAD_H
|
|
|