| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef FORMZXSH_H
- #define FORMZXSH_H
- #include <QWidget>
- #include "SNCzxsh_global.h"
- #include "formaccountinfo.h"
- #include "formcommandarea.h"
- #include "formshkjfree.h"
- #include "formshkjreserve.h"
- #include "formshkjhotarea.h"
- #include "formad.h"
- #include "autosynczxshdata.h"
- #include "autosynczxshsltpackno.h"
- namespace Ui {
- class FormZxsh;
- }
- class SNCZXSHSHARED_EXPORT FormZxsh : public QWidget
- {
- Q_OBJECT
-
- public:
- explicit FormZxsh(QWidget *parent = 0);
- void updateUserState();
- void stopService();
- ~FormZxsh();
- public slots:
- void setAccountInfo(QMap<QString,QString> info);
- void onSyncPause();
- void onSyncResume();
- void onZxshDown();
- void onZxshReserve();
- private:
- void initVariables();
- void initUI();
- void connectSignals();
- void disconnectSignals();
- signals:
- void buttonLoginClick();
- void userStateChanged();
- private slots:
- void onTimeOut();
- private:
- Ui::FormZxsh *ui;
- FormShkjFree *m_formFree;
- FormCommandArea *m_formCmdArea;
- FormShkjReserve *m_formReserve;
- FormShkjHotArea *m_formHotArea;
- FormAccountInfo *m_formAccount;
- FormAd *m_formAd;
- AutoSyncZxshData *m_synczxsh;
- AutoSyncZxshSltPackno *m_syncpackno;
- QString m_host;
- QString m_port;
- QString m_ssoHash;
- QString m_userCode;
- QString m_userPwd;
- QMap<QString,QString> m_account;
- QTimer *m_timer;
- };
- #endif // FORMZXSH_H
|