QTfrontend/hwform.h
changeset 4509 816a0bff5019
parent 4500 22d06b4be225
child 4518 ce95df0398fb
--- a/QTfrontend/hwform.h	Sat Dec 11 21:27:43 2010 +0300
+++ b/QTfrontend/hwform.h	Sat Dec 11 23:28:52 2010 +0300
@@ -42,6 +42,7 @@
 class QCloseEvent;
 class AmmoSchemeModel;
 class QSettings;
+class QSignalMapper;
 
 extern bool frontendEffects;
 extern QString playerHash;
@@ -59,17 +60,11 @@
     void updateXfire();
 
 private slots:
-    void GoToMain();
-    void GoToSinglePlayer();
-    void GoToSetup();
     void GoToMultiplayer();
     void GoToSaves();
     void GoToDemos();
     void GoToNet();
     void GoToNetType();
-    void GoToInfo();
-    void GoToTraining();
-    void GoToCampaign();
     void GoToSelectWeapon();
     void GoToSelectWeaponSet(int index);
     void GoToSelectNewWeapon();
@@ -78,7 +73,7 @@
     void GoToEditScheme();
     void GoToNewScheme();
     void GoToAdmin();
-    void GoToPage(quint8 id);
+    void GoToPage(int id);
     void GoBack();
     void AssociateFiles();
     void btnExitPressed();
@@ -163,9 +158,10 @@
     HWNewNet * hwnet;
     HWNamegen * namegen;
     AmmoSchemeModel * ammoSchemeModel;
-    QStack<quint8> PagesStack;
+    QStack<int> PagesStack;
     QTime eggTimer;
     BGWidget * wBackground;
+    QSignalMapper * pageSwitchMapper;
 
 #ifdef __APPLE__
         InstallController * panel;