479 connect(hwnet, SIGNAL(chatStringFromMe(const QString&)), |
479 connect(hwnet, SIGNAL(chatStringFromMe(const QString&)), |
480 ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&))); |
480 ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&))); |
481 connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)), |
481 connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)), |
482 hwnet, SLOT(chatLineToNet(const QString&))); |
482 hwnet, SLOT(chatLineToNet(const QString&))); |
483 connect(ui.pageNetGame->BtnGo, SIGNAL(clicked()), hwnet, SLOT(ToggleReady())); |
483 connect(ui.pageNetGame->BtnGo, SIGNAL(clicked()), hwnet, SLOT(ToggleReady())); |
|
484 connect(hwnet, SIGNAL(setMyReadyStatus(bool)), |
|
485 ui.pageNetGame, SLOT(setReadyStatus(bool))); |
484 |
486 |
485 connect(ui.pageNetGame->pChatWidget, SIGNAL(kick(const QString&)), |
487 connect(ui.pageNetGame->pChatWidget, SIGNAL(kick(const QString&)), |
486 hwnet, SLOT(kickPlayer(const QString&))); |
488 hwnet, SLOT(kickPlayer(const QString&))); |
487 connect(ui.pageNetGame->pChatWidget, SIGNAL(info(const QString&)), |
489 connect(ui.pageNetGame->pChatWidget, SIGNAL(info(const QString&)), |
488 hwnet, SLOT(infoPlayer(const QString&))); |
490 hwnet, SLOT(infoPlayer(const QString&))); |