QTfrontend/hwform.cpp
changeset 1924 8f8fe856ce9d
parent 1907 a104432e8301
child 1925 ec923e56c444
equal deleted inserted replaced
1923:956b6b3529bc 1924:8f8fe856ce9d
   590 	connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(teamNotPlaying(const HWTeam&)), hwnet, SLOT(RemoveTeam(const HWTeam&)));
   590 	connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(teamNotPlaying(const HWTeam&)), hwnet, SLOT(RemoveTeam(const HWTeam&)));
   591 	connect(hwnet, SIGNAL(hhnumChanged(const HWTeam&)),
   591 	connect(hwnet, SIGNAL(hhnumChanged(const HWTeam&)),
   592 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeHHNum(const HWTeam&)));
   592 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeHHNum(const HWTeam&)));
   593 	connect(hwnet, SIGNAL(teamColorChanged(const HWTeam&)),
   593 	connect(hwnet, SIGNAL(teamColorChanged(const HWTeam&)),
   594 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeTeamColor(const HWTeam&)));
   594 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeTeamColor(const HWTeam&)));
       
   595 
       
   596 // admin stuff
       
   597 	connect(hwnet, SIGNAL(serverMessage(const QString&)), ui.pageAdmin, SLOT(serverMessage(const QString &)));
   595 
   598 
   596 // disconnect
   599 // disconnect
   597 	connect(hwnet, SIGNAL(Disconnected()), this, SLOT(ForcedDisconnect()), Qt::QueuedConnection);
   600 	connect(hwnet, SIGNAL(Disconnected()), this, SLOT(ForcedDisconnect()), Qt::QueuedConnection);
   598 	
   601 	
   599 	hwnet->Connect(hostName, port, nick);
   602 	hwnet->Connect(hostName, port, nick);