2017-03-29 10:18:37 +00:00
|
|
|
#ifndef ANALTHREAD_H
|
|
|
|
#define ANALTHREAD_H
|
|
|
|
|
|
|
|
#include <QThread>
|
|
|
|
|
2017-03-31 22:43:12 +00:00
|
|
|
class QRCore;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
class AnalThread : public QThread
|
|
|
|
{
|
2017-04-09 19:55:06 +00:00
|
|
|
Q_OBJECT
|
2017-03-29 10:18:37 +00:00
|
|
|
public:
|
2017-03-31 22:43:12 +00:00
|
|
|
explicit AnalThread(QWidget *parent = 0);
|
|
|
|
~AnalThread();
|
|
|
|
|
|
|
|
void start(QRCore *core, int level);
|
|
|
|
|
|
|
|
protected:
|
2017-03-29 10:18:37 +00:00
|
|
|
void run();
|
|
|
|
|
2017-03-31 22:43:12 +00:00
|
|
|
using QThread::start;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2017-03-31 22:43:12 +00:00
|
|
|
private:
|
|
|
|
QRCore *core;
|
|
|
|
int level;
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ANALTHREAD_H
|