1038 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&)), Qt::QueuedConnection); |
1039 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&)), Qt::QueuedConnection); |
1039 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection); |
1040 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection); |
1040 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
1041 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
1041 |
1042 |
1042 // rooms list page stuff |
1043 // rooms list page stuff |
|
1044 ui.pageRoomsList->roomsList->setModel(hwnet->roomsListModel()); |
1043 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
1045 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
1044 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)), Qt::QueuedConnection); |
1046 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)), Qt::QueuedConnection); |
1045 connect(hwnet, SIGNAL(adminAccess(bool)), |
1047 connect(hwnet, SIGNAL(adminAccess(bool)), |
1046 ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection); |
1048 ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection); |
1047 connect(hwnet, SIGNAL(adminAccess(bool)), |
1049 connect(hwnet, SIGNAL(adminAccess(bool)), |