projectinfomanger.h 557 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef PROJECTINFOMANGER_H
  2. #define PROJECTINFOMANGER_H
  3. #include <QObject>
  4. #include "httprequest.h"
  5. // 处理批号的管理和同步
  6. class ProjectInfoManger : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit ProjectInfoManger(QObject *parent = nullptr);
  11. enum ReqStatus
  12. {
  13. IDIL = 0,
  14. Load_Server_List = 1,
  15. Sync_Local_List = 2
  16. };
  17. signals:
  18. public slots:
  19. void loadServerList();
  20. void syncLocalList();
  21. private slots:
  22. void loadLocalList();
  23. private:
  24. ReqStatus _status;
  25. };
  26. #endif // PROJECTINFOMANGER_H