417 |
417 |
418 connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)), |
418 connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)), |
419 hwnet, SLOT(CreateRoom(const QString&))); |
419 hwnet, SLOT(CreateRoom(const QString&))); |
420 connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)), |
420 connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)), |
421 hwnet, SLOT(JoinRoom(const QString&))); |
421 hwnet, SLOT(JoinRoom(const QString&))); |
|
422 connect(ui.pageRoomsList, SIGNAL(askForRoomList()), |
|
423 hwnet, SLOT(askRoomsList())); |
422 |
424 |
423 connect(hwnet, SIGNAL(chatStringFromNet(const QStringList&)), |
425 connect(hwnet, SIGNAL(chatStringFromNet(const QStringList&)), |
424 ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QStringList&))); |
426 ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QStringList&))); |
425 connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)), |
427 connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)), |
426 hwnet, SLOT(chatLineToNet(const QString&))); |
428 hwnet, SLOT(chatLineToNet(const QString&))); |