448 |
448 |
449 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
449 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
450 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&))); |
450 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&))); |
451 |
451 |
452 connect(hwnet, SIGNAL(serverMessage(const QString&)), |
452 connect(hwnet, SIGNAL(serverMessage(const QString&)), |
453 ui.pageRoomsList->chatWidget, SLOT(onChatString(const QString&))); |
453 ui.pageRoomsList->chatWidget, SLOT(onServerMessage(const QString&))); |
454 |
454 |
455 connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)), |
455 connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)), |
456 hwnet, SLOT(CreateRoom(const QString&))); |
456 hwnet, SLOT(CreateRoom(const QString&))); |
457 connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)), |
457 connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)), |
458 hwnet, SLOT(JoinRoom(const QString&))); |
458 hwnet, SLOT(JoinRoom(const QString&))); |