numbercopy.h 566 B

123456789101112131415161718192021222324252627
  1. #ifndef NUMBERCOPY_H
  2. #define NUMBERCOPY_H
  3. #include <QtCore>
  4. #include "snccore.h"
  5. #include "numberlistmodel.h"
  6. #include "numbercopy.h"
  7. class SNCCORESHARED_EXPORT NumberCopy : public QThread
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit NumberCopy(NumberListModel *model);
  12. ~NumberCopy();
  13. void abort();
  14. protected:
  15. void run();
  16. signals:
  17. void progressMaxUpdated(int max);
  18. void progressUpdated(int i);
  19. void numberCopyed(QString content);
  20. private:
  21. NumberListModel *model;
  22. bool stop ;
  23. public slots:
  24. };
  25. #endif // NUMBERCOPY_H