1088 connect(hwnet, SIGNAL(TeamAccepted(const QString&)), this, SLOT(NetTeamAccepted(const QString&)), Qt::QueuedConnection); |
1089 connect(hwnet, SIGNAL(TeamAccepted(const QString&)), this, SLOT(NetTeamAccepted(const QString&)), Qt::QueuedConnection); |
1089 connect(hwnet, SIGNAL(AskForPassword(const QString&)), this, SLOT(NetPassword(const QString&)), Qt::QueuedConnection); |
1090 connect(hwnet, SIGNAL(AskForPassword(const QString&)), this, SLOT(NetPassword(const QString&)), Qt::QueuedConnection); |
1090 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&)), Qt::QueuedConnection); |
1091 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&)), Qt::QueuedConnection); |
1091 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection); |
1092 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection); |
1092 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
1093 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
|
1094 |
|
1095 ui.pageRoomsList->chatWidget->setUsersModel(hwnet->lobbyPlayersModel()); |
|
1096 ui.pageNetGame->pChatWidget->setUsersModel(hwnet->roomPlayersModel()); |
1093 |
1097 |
1094 // rooms list page stuff |
1098 // rooms list page stuff |
1095 ui.pageRoomsList->setModel(hwnet->roomsListModel()); |
1099 ui.pageRoomsList->setModel(hwnet->roomsListModel()); |
1096 connect(hwnet, SIGNAL(adminAccess(bool)), |
1100 connect(hwnet, SIGNAL(adminAccess(bool)), |
1097 ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection); |
1101 ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection); |