QTfrontend/hwform.cpp
changeset 1577 e3e37c730dc0
parent 1576 a02353129a41
child 1584 90f6a5abad17
equal deleted inserted replaced
1576:a02353129a41 1577:e3e37c730dc0
   468 		ui.pageNetGame->pChatWidget, SLOT(setReadyStatus(const QString &, bool)));
   468 		ui.pageNetGame->pChatWidget, SLOT(setReadyStatus(const QString &, bool)));
   469 	connect(hwnet, SIGNAL(chatStringFromMe(const QString&)),
   469 	connect(hwnet, SIGNAL(chatStringFromMe(const QString&)),
   470 		ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&)));
   470 		ui.pageNetGame->pChatWidget, SLOT(onChatString(const QString&)));
   471 	connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)),
   471 	connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)),
   472 		hwnet, SLOT(chatLineToNet(const QString&)));
   472 		hwnet, SLOT(chatLineToNet(const QString&)));
       
   473 	connect(ui.pageNetGame->BtnGo, SIGNAL(clicked()), hwnet, SLOT(ToggleReady()));
       
   474 
   473 	connect(ui.pageNetGame->pChatWidget, SIGNAL(kick(const QString&)),
   475 	connect(ui.pageNetGame->pChatWidget, SIGNAL(kick(const QString&)),
   474 		hwnet, SLOT(kickPlayer(const QString&)));
   476 		hwnet, SLOT(kickPlayer(const QString&)));
   475 	connect(ui.pageNetGame->BtnGo, SIGNAL(clicked()), hwnet, SLOT(ToggleReady()));
   477 	connect(ui.pageNetGame->pChatWidget, SIGNAL(info(const QString&)),
       
   478 		hwnet, SLOT(infoPlayer(const QString&)));
       
   479 	connect(ui.pageRoomsList->chatWidget, SIGNAL(info(const QString&)),
       
   480 		hwnet, SLOT(infoPlayer(const QString&)));
   476 
   481 
   477 	connect(ui.pageRoomsList->chatWidget, SIGNAL(chatLine(const QString&)),
   482 	connect(ui.pageRoomsList->chatWidget, SIGNAL(chatLine(const QString&)),
   478 		hwnet, SLOT(chatLineToLobby(const QString&)));
   483 		hwnet, SLOT(chatLineToLobby(const QString&)));
   479 	connect(hwnet, SIGNAL(chatStringLobby(const QString&)),
   484 	connect(hwnet, SIGNAL(chatStringLobby(const QString&)),
   480 		ui.pageRoomsList->chatWidget, SLOT(onChatString(const QString&)));
   485 		ui.pageRoomsList->chatWidget, SLOT(onChatString(const QString&)));