2017-03-29 10:18:37 +00:00
|
|
|
#ifndef ANALTHREAD_H
|
|
|
|
#define ANALTHREAD_H
|
|
|
|
|
|
|
|
#include <QThread>
|
|
|
|
|
2017-09-25 12:55:41 +00:00
|
|
|
class CutterCore;
|
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();
|
|
|
|
|
2017-09-25 12:55:41 +00:00
|
|
|
void start(CutterCore *core, int level, QList<QString> advanced);
|
2017-03-31 22:43:12 +00:00
|
|
|
|
|
|
|
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:
|
2017-09-25 12:55:41 +00:00
|
|
|
CutterCore *core;
|
2017-03-31 22:43:12 +00:00
|
|
|
int level;
|
2017-07-24 11:05:28 +00:00
|
|
|
QList<QString> advanced;
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ANALTHREAD_H
|