| 12345678910111213141516171819202122232425 |
- #ifndef NUMBEROUTORDER_H
- #define NUMBEROUTORDER_H
- #include <QtCore>
- #include "snccore.h"
- #include "numberlistmodel.h"
- #include "SNCCore_global.h"
- class SNCCORESHARED_EXPORT NumberOutOrder : public QThread
- {
- Q_OBJECT
- public:
- NumberOutOrder(NumberListModel *oldModel);
- ~NumberOutOrder();
- void abort();
- signals:
- void progressMaxUpdated(int max);
- void progressUpdated(int i);
- void numberProcessed(NumberListModel *newModel);
- protected:
- void run();
- private:
- bool stop;
- NumberListModel *oldModel;
- NumberListModel *newModel;
- };
- #endif // NUMBEROUTORDER_H
|