dialogbindsystem.h 731 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef DIALOGBINDSYSTEM_H
  2. #define DIALOGBINDSYSTEM_H
  3. #include "SNCUser_global.h"
  4. #include <QDialog>
  5. #include <QtCore>
  6. namespace Ui {
  7. class DialogBindSystem;
  8. }
  9. class SNCUSERSHARED_EXPORT DialogBindSystem : public QDialog
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit DialogBindSystem(QWidget *parent = 0);
  14. void setSysRegInfo(QString sysCode,QString userHash);
  15. bool serviceIsOpen();
  16. ~DialogBindSystem();
  17. signals:
  18. private slots:
  19. void on_pushButtonRegService_clicked();
  20. void on_pushButtonBindService_clicked();
  21. private:
  22. void genValidateCode();
  23. private:
  24. Ui::DialogBindSystem *ui;
  25. QString sysCode;
  26. QString userHash;
  27. bool succeed ;
  28. };
  29. #endif // DIALOGBINDSYSTEM_H