144 } |
144 } |
145 } |
145 } |
146 settings.close(); |
146 settings.close(); |
147 } |
147 } |
148 |
148 |
149 connect(ui.BtnSPBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
149 connect(ui.BtnSPBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
150 connect(ui.BtnDemosBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
150 connect(ui.BtnDemosBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
151 connect(ui.BtnSetupBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
151 connect(ui.BtnSetupBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
152 connect(ui.BtnMPBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
152 connect(ui.BtnMPBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
153 connect(ui.BtnSinglePlayer, SIGNAL(clicked()), this, SLOT(GoToSinglePlayer())); |
153 connect(ui.BtnNetBack, SIGNAL(clicked()), this, SLOT(GoToMain())); |
154 connect(ui.BtnSetup, SIGNAL(clicked()), this, SLOT(GoToSetup())); |
154 connect(ui.BtnSinglePlayer, SIGNAL(clicked()), this, SLOT(GoToSinglePlayer())); |
155 connect(ui.BtnMultiplayer, SIGNAL(clicked()), this, SLOT(GoToMultiplayer())); |
155 connect(ui.BtnSetup, SIGNAL(clicked()), this, SLOT(GoToSetup())); |
156 connect(ui.BtnDemos, SIGNAL(clicked()), this, SLOT(GoToDemos())); |
156 connect(ui.BtnMultiplayer, SIGNAL(clicked()), this, SLOT(GoToMultiplayer())); |
157 connect(ui.BtnNewTeam, SIGNAL(clicked()), this, SLOT(NewTeam())); |
157 connect(ui.BtnDemos, SIGNAL(clicked()), this, SLOT(GoToDemos())); |
158 connect(ui.BtnEditTeam, SIGNAL(clicked()), this, SLOT(EditTeam())); |
158 connect(ui.BtnNet, SIGNAL(clicked()), this, SLOT(GoToNet())); |
159 connect(ui.BtnTeamSave, SIGNAL(clicked()), this, SLOT(TeamSave())); |
159 connect(ui.BtnNewTeam, SIGNAL(clicked()), this, SLOT(NewTeam())); |
160 connect(ui.BtnTeamDiscard, SIGNAL(clicked()), this, SLOT(TeamDiscard())); |
160 connect(ui.BtnEditTeam, SIGNAL(clicked()), this, SLOT(EditTeam())); |
161 connect(ui.BtnSimpleGame, SIGNAL(clicked()), this, SLOT(SimpleGame())); |
161 connect(ui.BtnTeamSave, SIGNAL(clicked()), this, SLOT(TeamSave())); |
162 connect(ui.BtnSaveOptions, SIGNAL(clicked()), this, SLOT(SaveOptions())); |
162 connect(ui.BtnTeamDiscard, SIGNAL(clicked()), this, SLOT(TeamDiscard())); |
163 connect(ui.BtnPlayDemo, SIGNAL(clicked()), this, SLOT(PlayDemo())); |
163 connect(ui.BtnSimpleGame, SIGNAL(clicked()), this, SLOT(SimpleGame())); |
164 connect(ui.CBGrave, SIGNAL(activated(const QString &)), this, SLOT(CBGrave_activated(const QString &))); |
164 connect(ui.BtnSaveOptions, SIGNAL(clicked()), this, SLOT(SaveOptions())); |
165 connect(ui.CBFort, SIGNAL(activated(const QString &)), this, SLOT(CBFort_activated(const QString &))); |
165 connect(ui.BtnPlayDemo, SIGNAL(clicked()), this, SLOT(PlayDemo())); |
|
166 connect(ui.BtnNetConnect, SIGNAL(clicked()), this, SLOT(NetConnect())); |
|
167 connect(ui.BtnNetChatDisconnect, SIGNAL(clicked()), this, SLOT(NetDisconnect())); |
|
168 connect(ui.CBGrave, SIGNAL(activated(const QString &)), this, SLOT(CBGrave_activated(const QString &))); |
|
169 connect(ui.CBFort, SIGNAL(activated(const QString &)), this, SLOT(CBFort_activated(const QString &))); |
166 ui.Pages->setCurrentIndex(ID_PAGE_MAIN); |
170 ui.Pages->setCurrentIndex(ID_PAGE_MAIN); |
167 } |
171 } |
168 |
172 |
169 void HWForm::GoToMain() |
173 void HWForm::GoToMain() |
170 { |
174 { |