1023 |
1023 |
1024 hwnet = new HWNewNet(); |
1024 hwnet = new HWNewNet(); |
1025 |
1025 |
1026 GoToPage(ID_PAGE_CONNECTING); |
1026 GoToPage(ID_PAGE_CONNECTING); |
1027 |
1027 |
1028 connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame())); |
1028 connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame()), Qt::QueuedConnection); |
1029 connect(hwnet, SIGNAL(connected()), this, SLOT(NetConnected())); |
1029 connect(hwnet, SIGNAL(connected()), this, SLOT(NetConnected()), Qt::QueuedConnection); |
1030 connect(hwnet, SIGNAL(Error(const QString&)), this, SLOT(NetError(const QString&))); |
1030 connect(hwnet, SIGNAL(Error(const QString&)), this, SLOT(NetError(const QString&)), Qt::QueuedConnection); |
1031 connect(hwnet, SIGNAL(Warning(const QString&)), this, SLOT(NetWarning(const QString&))); |
1031 connect(hwnet, SIGNAL(Warning(const QString&)), this, SLOT(NetWarning(const QString&)), Qt::QueuedConnection); |
1032 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); |
1032 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()), Qt::QueuedConnection); |
1033 connect(hwnet, SIGNAL(LeftRoom(const QString&)), this, SLOT(NetLeftRoom(const QString&))); |
1033 connect(hwnet, SIGNAL(LeftRoom(const QString&)), this, SLOT(NetLeftRoom(const QString&)), Qt::QueuedConnection); |
1034 connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&))); |
1034 connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&)), Qt::QueuedConnection); |
1035 connect(hwnet, SIGNAL(RemoveNetTeam(const HWTeam&)), this, SLOT(RemoveNetTeam(const HWTeam&))); |
1035 connect(hwnet, SIGNAL(RemoveNetTeam(const HWTeam&)), this, SLOT(RemoveNetTeam(const HWTeam&)), Qt::QueuedConnection); |
1036 connect(hwnet, SIGNAL(TeamAccepted(const QString&)), this, SLOT(NetTeamAccepted(const QString&))); |
1036 connect(hwnet, SIGNAL(TeamAccepted(const QString&)), this, SLOT(NetTeamAccepted(const QString&)), Qt::QueuedConnection); |
1037 connect(hwnet, SIGNAL(AskForPassword(const QString&)), this, SLOT(NetPassword(const QString&))); |
1037 connect(hwnet, SIGNAL(AskForPassword(const QString&)), this, SLOT(NetPassword(const QString&)), Qt::QueuedConnection); |
1038 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&))); |
1038 connect(hwnet, SIGNAL(NickTaken(const QString&)), this, SLOT(NetNickTaken(const QString&)), Qt::QueuedConnection); |
1039 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed())); |
1039 connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection); |
1040 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
1040 //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom())); |
1041 |
1041 |
1042 // rooms list page stuff |
1042 // rooms list page stuff |
1043 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
1043 connect(hwnet, SIGNAL(roomsList(const QStringList&)), |
1044 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&))); |
1044 ui.pageRoomsList, SLOT(setRoomsList(const QStringList&))); |