1234567891011121314151617181920212223242526272829303132 |
- #ifndef BOOKUNZIPPER_H
- #define BOOKUNZIPPER_H
- #include <QThread>
- #include <QObject>
- #include "bookitemlist.h"
- class BookUnzipper : public QThread
- {
- Q_OBJECT
- public:
- BookUnzipper();
- protected:
- void run();
- signals:
- void openedZipPage(int count, int total, QString text);
- void extractFinished(BookItemList::ErrorCodes code);
- public:
- void setArchiveName(QString text);
- void cancelRun();
- private:
- QString m_archiveName;
- bool m_cancel;
- };
- #endif // BOOKUNZIPPER_H
|