QTfrontend/hwform.cpp
changeset 7723 ca05b576ec74
parent 7720 8e6b79a020f8
child 7741 d216f0599291
equal deleted inserted replaced
7722:1518827049ed 7723:ca05b576ec74
    91 #include "xfire.h"
    91 #include "xfire.h"
    92 #include "drawmapwidget.h"
    92 #include "drawmapwidget.h"
    93 #include "mouseoverfilter.h"
    93 #include "mouseoverfilter.h"
    94 #include "roomslistmodel.h"
    94 #include "roomslistmodel.h"
    95 #include "recorder.h"
    95 #include "recorder.h"
       
    96 #include "playerslistmodel.h"
    96 
    97 
    97 #include "DataManager.h"
    98 #include "DataManager.h"
    98 
    99 
    99 #ifdef __APPLE__
   100 #ifdef __APPLE__
   100 #include "M3Panel.h"
   101 #include "M3Panel.h"
  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);