QTfrontend/hwform.cpp
changeset 1377 a9e768739345
parent 1376 6c82ad758a80
child 1391 735f6d43780b
equal deleted inserted replaced
1376:6c82ad758a80 1377:a9e768739345
    26 #include <QLabel>
    26 #include <QLabel>
    27 #include <QRadioButton>
    27 #include <QRadioButton>
    28 #include <QSpinBox>
    28 #include <QSpinBox>
    29 #include <QCloseEvent>
    29 #include <QCloseEvent>
    30 #include <QCheckBox>
    30 #include <QCheckBox>
       
    31 #include <QTextBrowser>
    31 
    32 
    32 #include "hwform.h"
    33 #include "hwform.h"
    33 #include "game.h"
    34 #include "game.h"
    34 #include "team.h"
    35 #include "team.h"
    35 #include "teamselect.h"
    36 #include "teamselect.h"
   420 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   421 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
   421 	connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&)));
   422 	connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&)));
   422 
   423 
   423 	connect(hwnet, SIGNAL(roomsList(const QStringList&)),
   424 	connect(hwnet, SIGNAL(roomsList(const QStringList&)),
   424 		ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)));
   425 		ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)));
       
   426 	connect(hwnet, SIGNAL(serverMessage(const QString&)),
       
   427 		ui.pageRoomsList->serverMessage, SLOT(setText(const QString&)));
   425 	
   428 	
   426 	connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)),
   429 	connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)),
   427 		hwnet, SLOT(CreateRoom(const QString&)));
   430 		hwnet, SLOT(CreateRoom(const QString&)));
   428 	connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)),
   431 	connect(ui.pageRoomsList, SIGNAL(askForJoinRoom(const QString &)),
   429 		hwnet, SLOT(JoinRoom(const QString&)));
   432 		hwnet, SLOT(JoinRoom(const QString&)));