diff -r 1d98752c1fba -r 9fd5b70acb1a QTfrontend/ui/page/pagenetgame.h --- a/QTfrontend/ui/page/pagenetgame.h Wed Oct 19 02:10:27 2011 +0200 +++ b/QTfrontend/ui/page/pagenetgame.h Wed Oct 19 16:10:18 2011 +0200 @@ -19,6 +19,8 @@ #ifndef PAGE_NETGAME_H #define PAGE_NETGAME_H +#include "HistoryLineEdit.h" + #include "AbstractPage.h" #include "SDLs.h" @@ -33,13 +35,17 @@ public: PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli); + /** + * Sets the room name to display. + * @roomName room name to be displayed. + */ + void setRoomName(const QString & roomName); + QPushButton *BtnGo; QPushButton *BtnMaster; QPushButton *BtnStart; QPushButton *BtnUpdate; - QLineEdit * leRoomName; - QAction * restrictJoins; QAction * restrictTeamAdds; @@ -65,6 +71,7 @@ QSettings * m_gameSettings; SDLInteraction * m_sdli; + HistoryLineEdit * leRoomName; QPushButton * btnSetup; };