1284 connect(ui.pageRoomsList->chatWidget, SIGNAL(follow(const QString&)), |
1284 connect(ui.pageRoomsList->chatWidget, SIGNAL(follow(const QString&)), |
1285 hwnet, SLOT(followPlayer(const QString&))); |
1285 hwnet, SLOT(followPlayer(const QString&))); |
1286 connect(ui.pageRoomsList->chatWidget, SIGNAL(consoleCommand(const QString&)), |
1286 connect(ui.pageRoomsList->chatWidget, SIGNAL(consoleCommand(const QString&)), |
1287 hwnet, SLOT(consoleCommand(const QString&))); |
1287 hwnet, SLOT(consoleCommand(const QString&))); |
1288 |
1288 |
|
1289 // player info |
|
1290 connect(hwnet, SIGNAL(playerInfo(const QString&, const QString&, const QString&, const QString&)), |
|
1291 ui.pageRoomsList->chatWidget, SLOT(onPlayerInfo(const QString&, const QString&, const QString&, const QString&)), Qt::QueuedConnection); |
|
1292 connect(hwnet, SIGNAL(playerInfo(const QString&, const QString&, const QString&, const QString&)), |
|
1293 ui.pageNetGame->chatWidget, SLOT(onPlayerInfo(const QString&, const QString&, const QString&, const QString&)), Qt::QueuedConnection); |
|
1294 |
1289 // chatting |
1295 // chatting |
1290 connect(ui.pageRoomsList->chatWidget, SIGNAL(chatLine(const QString&)), |
1296 connect(ui.pageRoomsList->chatWidget, SIGNAL(chatLine(const QString&)), |
1291 hwnet, SLOT(chatLineToLobby(const QString&))); |
1297 hwnet, SLOT(chatLineToLobby(const QString&))); |
1292 connect(hwnet, SIGNAL(lobbyChatAction(const QString&,const QString&)), |
1298 connect(hwnet, SIGNAL(lobbyChatAction(const QString&,const QString&)), |
1293 ui.pageRoomsList->chatWidget, SLOT(onChatAction(const QString&,const QString&)), Qt::QueuedConnection); |
1299 ui.pageRoomsList->chatWidget, SLOT(onChatAction(const QString&,const QString&)), Qt::QueuedConnection); |