QTfrontend/hwform.cpp
changeset 6732 c906dc78091f
parent 6720 84261c3408a6
child 6733 5abbc345a82f
equal deleted inserted replaced
6731:ddd391083f50 6732:c906dc78091f
    86 #include "ammoSchemeModel.h"
    86 #include "ammoSchemeModel.h"
    87 #include "bgwidget.h"
    87 #include "bgwidget.h"
    88 #include "xfire.h"
    88 #include "xfire.h"
    89 #include "drawmapwidget.h"
    89 #include "drawmapwidget.h"
    90 #include "mouseoverfilter.h"
    90 #include "mouseoverfilter.h"
       
    91 #include "roomslistmodel.h"
    91 
    92 
    92 #include "HWDataManager.h"
    93 #include "HWDataManager.h"
    93 
    94 
    94 #ifdef __APPLE__
    95 #ifdef __APPLE__
    95 #include "M3Panel.h"
    96 #include "M3Panel.h"
  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)),