equal
deleted
inserted
replaced
29 class PageNetGame : public AbstractPage |
29 class PageNetGame : public AbstractPage |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 |
32 |
33 public: |
33 public: |
34 PageNetGame(QWidget* parent, QSettings * config, SDLInteraction * sdli); |
34 PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli); |
35 |
35 |
36 QPushButton *BtnGo; |
36 QPushButton *BtnGo; |
37 QPushButton *BtnMaster; |
37 QPushButton *BtnMaster; |
38 QPushButton *BtnStart; |
38 QPushButton *BtnStart; |
39 QPushButton *BtnUpdate; |
39 QPushButton *BtnUpdate; |
46 HWChatWidget* pChatWidget; |
46 HWChatWidget* pChatWidget; |
47 |
47 |
48 TeamSelWidget* pNetTeamsWidget; |
48 TeamSelWidget* pNetTeamsWidget; |
49 GameCFGWidget* pGameCFG; |
49 GameCFGWidget* pGameCFG; |
50 |
50 |
51 private: |
|
52 QPushButton *BtnBack; |
|
53 |
|
54 public slots: |
51 public slots: |
55 void setReadyStatus(bool isReady); |
52 void setReadyStatus(bool isReady); |
56 void onUpdateClick(); |
53 void onUpdateClick(); |
57 void setMasterMode(bool isMaster); |
54 void setMasterMode(bool isMaster); |
58 |
55 |
59 signals: |
56 signals: |
60 void SetupClicked(); |
57 void SetupClicked(); |
61 void askForUpdateRoomName(const QString &); |
58 void askForUpdateRoomName(const QString &); |
|
59 |
|
60 private: |
|
61 QLayout * bodyLayoutDefinition(); |
|
62 QLayout * footerLayoutDefinition(); |
|
63 void connectSignals(); |
|
64 |
|
65 QSettings * m_gameSettings; |
|
66 SDLInteraction * m_sdli; |
|
67 |
|
68 QPushButton * btnSetup; |
62 }; |
69 }; |
63 |
70 |
64 #endif |
71 #endif |