QTfrontend/ui/page/pagemain.h
changeset 8318 e2c01fbf36c0
parent 7235 baa69bd025d9
child 8977 d424c7f8b342
--- a/QTfrontend/ui/page/pagemain.h	Thu Dec 20 23:14:54 2012 +0100
+++ b/QTfrontend/ui/page/pagemain.h	Thu Dec 20 23:54:41 2012 +0100
@@ -21,15 +21,19 @@
 
 #include "AbstractPage.h"
 
+class QIcon;
+
 class PageMain : public AbstractPage
 {
-        Q_OBJECT
+    Q_OBJECT
 
     public:
         PageMain(QWidget * parent = 0);
 
         QPushButton * BtnSinglePlayer;
         QPushButton * BtnNet;
+        QPushButton * BtnNetLocal;
+        QPushButton * BtnNetOfficial;
         QPushButton * BtnSetup;
         QPushButton * BtnFeedback;
         QPushButton * BtnInfo;
@@ -41,8 +45,12 @@
         QLayout * bodyLayoutDefinition();
         QLayout * footerLayoutDefinition();
         void connectSignals();
+        QIcon originalNetworkIcon, disabledNetworkIcon;
 
         QString randomTip() const;
+
+    private slots:
+        void toggleNetworkChoice();
 };
 
 #endif