#ifndef ANALTHREAD_H #define ANALTHREAD_H #include class CutterCore; class AnalThread : public QThread { Q_OBJECT public: explicit AnalThread(QWidget *parent = 0); ~AnalThread(); void start(CutterCore *core, int level, QList advanced); protected: void run(); using QThread::start; private: CutterCore *core; int level; QList advanced; }; #endif // ANALTHREAD_H