cutter/src/AnalThread.h

35 lines
548 B
C
Raw Normal View History

#ifndef ANALTHREAD_H
#define ANALTHREAD_H
#include <QThread>
2017-09-25 12:55:41 +00:00
class CutterCore;
class MainWindow;
class OptionsDialog;
class AnalThread : public QThread
{
2017-04-09 19:55:06 +00:00
Q_OBJECT
public:
explicit AnalThread(OptionsDialog *parent = 0);
~AnalThread();
void start(MainWindow *main, int level, QList<QString> advanced);
protected:
void run();
using QThread::start;
signals:
void updateProgress(QString str);
private:
int level;
QList<QString> advanced;
MainWindow *main;
2017-10-09 18:08:35 +00:00
CutterCore *core;
};
#endif // ANALTHREAD_H