QTfrontend/pagenetgame.h
changeset 6042 8b5345758f62
parent 6009 14f6fc9869f2
--- a/QTfrontend/pagenetgame.h	Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pagenetgame.h	Tue Sep 27 00:38:39 2011 +0200
@@ -31,7 +31,7 @@
     Q_OBJECT
 
 public:
-    PageNetGame(QWidget* parent, QSettings * config, SDLInteraction * sdli);
+    PageNetGame(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli);
 
     QPushButton *BtnGo;
     QPushButton *BtnMaster;
@@ -48,9 +48,6 @@
     TeamSelWidget* pNetTeamsWidget;
     GameCFGWidget* pGameCFG;
 
-private:
-    QPushButton *BtnBack;
-
 public slots:
     void setReadyStatus(bool isReady);
     void onUpdateClick();
@@ -59,6 +56,16 @@
 signals:
     void SetupClicked();
     void askForUpdateRoomName(const QString &);
+
+private:
+    QLayout * bodyLayoutDefinition();
+    QLayout * footerLayoutDefinition();
+    void connectSignals();
+
+    QSettings * m_gameSettings;
+    SDLInteraction * m_sdli;
+
+    QPushButton * btnSetup;
 };
 
 #endif