QTfrontend/hwform.cpp
changeset 6733 5abbc345a82f
parent 6732 c906dc78091f
child 6735 050237b1500f
equal deleted inserted replaced
6732:c906dc78091f 6733:5abbc345a82f
  1040     connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection);
  1040     connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection);
  1041     //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom()));
  1041     //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom()));
  1042 
  1042 
  1043 // rooms list page stuff
  1043 // rooms list page stuff
  1044     ui.pageRoomsList->roomsList->setModel(hwnet->roomsListModel());
  1044     ui.pageRoomsList->roomsList->setModel(hwnet->roomsListModel());
  1045     connect(hwnet, SIGNAL(roomsList(const QStringList&)),
       
  1046             ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)), Qt::QueuedConnection);
       
  1047     connect(hwnet, SIGNAL(adminAccess(bool)),
  1045     connect(hwnet, SIGNAL(adminAccess(bool)),
  1048             ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection);
  1046             ui.pageRoomsList, SLOT(setAdmin(bool)), Qt::QueuedConnection);
  1049     connect(hwnet, SIGNAL(adminAccess(bool)),
  1047     connect(hwnet, SIGNAL(adminAccess(bool)),
  1050             ui.pageRoomsList->chatWidget, SLOT(adminAccess(bool)), Qt::QueuedConnection);
  1048             ui.pageRoomsList->chatWidget, SLOT(adminAccess(bool)), Qt::QueuedConnection);
  1051 
  1049