QTfrontend/hwform.cpp
changeset 327 a281ff0803f1
parent 324 f4c109c82a0c
child 328 95625db21bf8
equal deleted inserted replaced
326:c6718bfdd642 327:a281ff0803f1
   240 {
   240 {
   241 	hwnet = new HWNewNet(config);
   241 	hwnet = new HWNewNet(config);
   242 	connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &)));
   242 	connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &)));
   243 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   243 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   244 	connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &)));
   244 	connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &)));
       
   245 	connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(teamWillPlay(HWTeam)), hwnet, SLOT(AddTeam(HWTeam)));
   245 	hwnet->Connect(hostName, port, nick);
   246 	hwnet->Connect(hostName, port, nick);
   246 	config->SaveOptions();
   247 	config->SaveOptions();
   247 }
   248 }
   248 
   249 
   249 void HWForm::NetConnect()
   250 void HWForm::NetConnect()