QTfrontend/ui/page/pageoptions.h
changeset 8346 3443e0de2c9d
parent 8284 a874d00df4a4
child 8350 14b938faec69
--- a/QTfrontend/ui/page/pageoptions.h	Fri Dec 28 23:54:42 2012 +0100
+++ b/QTfrontend/ui/page/pageoptions.h	Sat Dec 29 22:50:10 2012 +0100
@@ -25,6 +25,7 @@
 class FPSEdit;
 class IconedGroupBox;
 class QSignalMapper;
+class KeyBinder;
 
 class PageOptions : public AbstractPage
 {
@@ -118,6 +119,7 @@
         QLayout * bodyLayoutDefinition();
         QLayout * footerLayoutDefinition();
         void connectSignals();
+        int resetBindToDefault(int bindID);
 
         bool previousFullscreenValue;
         int previousResolutionIndex;
@@ -134,6 +136,9 @@
         QPushButton *btnDefaults;
         QPushButton *btnUpdateNow;
         GameUIConfig * config;
+        KeyBinder * binder;
+        int currentTab;
+        int binderTab;
 
     private slots:
         void forceFullscreen(int index);
@@ -151,6 +156,9 @@
         void changeUseGameRes(int state);
         void changeRecordAudio(int state);
         void checkForUpdates();
+        void tabIndexChanged(int);
+        void bindUpdated(int bindID);
+        void resetAllBinds();
 
     public slots:
         void setDefaultOptions();