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); |