equal
deleted
inserted
replaced
30 class HWGame; |
30 class HWGame; |
31 class HWTeam; |
31 class HWTeam; |
32 class HWNewNet; |
32 class HWNewNet; |
33 class GameUIConfig; |
33 class GameUIConfig; |
34 class HWNetRegisterServer; |
34 class HWNetRegisterServer; |
|
35 class QCloseEvent; |
35 |
36 |
36 class HWForm : public QMainWindow |
37 class HWForm : public QMainWindow |
37 { |
38 { |
38 Q_OBJECT |
39 Q_OBJECT |
39 |
40 |
83 |
84 |
84 private: |
85 private: |
85 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
86 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
86 void UpdateTeamsLists(const QStringList* editable_teams=0); |
87 void UpdateTeamsLists(const QStringList* editable_teams=0); |
87 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget); |
88 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget); |
|
89 void closeEvent(QCloseEvent *event); |
88 enum PageIDs { |
90 enum PageIDs { |
89 ID_PAGE_SIMPLEGAME = 0, |
91 ID_PAGE_SIMPLEGAME = 0, |
90 ID_PAGE_SETUP_TEAM = 1, |
92 ID_PAGE_SETUP_TEAM = 1, |
91 ID_PAGE_SETUP = 2, |
93 ID_PAGE_SETUP = 2, |
92 ID_PAGE_MULTIPLAYER = 3, |
94 ID_PAGE_MULTIPLAYER = 3, |