QTfrontend/ui/page/pagenetgame.h
changeset 6151 9fd5b70acb1a
parent 6060 fdfc01419815
child 6158 cf034cc88e39
--- 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;
 };