| 123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef AUTOSYNCZXSHDATA_H
- #define AUTOSYNCZXSHDATA_H
- #include <QThread>
- #include <QtCore>
- #include "wscube2.h"
- class AutoSyncZxshData : public QThread
- {
- Q_OBJECT
- public:
- explicit AutoSyncZxshData();
- ~AutoSyncZxshData();
- void abort();
- void setSkip(bool skip);
- public slots:
- void setAccountInfo(QMap<QString,QString> accountInfo);
- protected:
- void run();
- signals:
- void dataSync();
- private:
- void sync();
- bool checkSynCondition();
- public slots:
- private:
- QMap<QString,QString> m_account;
- QString m_clientID;
- QString m_moduleID;
- int m_errCode;
- QString m_errMsg;
- QString m_errDetail;
- bool m_stop;
- bool m_first;
- bool m_skip;
- WSCube2 *m_cubeWs;
- };
- #endif // AUTOSYNCZXSHDATA_H
|