QTfrontend/ui/page/pageoptions.h
changeset 8350 14b938faec69
parent 8343 aa4ea3cade3c
parent 8346 3443e0de2c9d
child 8387 f9d1191476ce
--- a/QTfrontend/ui/page/pageoptions.h	Sun Dec 30 16:04:28 2012 +0200
+++ b/QTfrontend/ui/page/pageoptions.h	Mon Dec 31 12:12:23 2012 +0200
@@ -25,6 +25,7 @@
 class FPSEdit;
 class IconedGroupBox;
 class QSignalMapper;
+class KeyBinder;
 
 class PageOptions : public AbstractPage
 {
@@ -120,6 +121,7 @@
         QLayout * bodyLayoutDefinition();
         QLayout * footerLayoutDefinition();
         void connectSignals();
+        int resetBindToDefault(int bindID);
 
         bool previousFullscreenValue;
         int previousResolutionIndex;
@@ -136,6 +138,9 @@
         QPushButton *btnDefaults;
         QPushButton *btnUpdateNow;
         GameUIConfig * config;
+        KeyBinder * binder;
+        int currentTab;
+        int binderTab;
 
     private slots:
         void forceFullscreen(int index);
@@ -153,6 +158,9 @@
         void changeUseGameRes(int state);
         void changeRecordAudio(int state);
         void checkForUpdates();
+        void tabIndexChanged(int);
+        void bindUpdated(int bindID);
+        void resetAllBinds();
 
     public slots:
         void setDefaultOptions();