summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/gesture_triggers_tab.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /khotkeys/kcontrol/gesture_triggers_tab.h
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/kcontrol/gesture_triggers_tab.h')
-rw-r--r--khotkeys/kcontrol/gesture_triggers_tab.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/khotkeys/kcontrol/gesture_triggers_tab.h b/khotkeys/kcontrol/gesture_triggers_tab.h
new file mode 100644
index 000000000..1bdaaf694
--- /dev/null
+++ b/khotkeys/kcontrol/gesture_triggers_tab.h
@@ -0,0 +1,66 @@
+/****************************************************************************
+
+ KHotKeys
+
+ Copyright (C) 1999-2002 Lubos Lunak <l.lunak@kde.org>
+
+ Distributed under the terms of the GNU General Public License version 2.
+
+****************************************************************************/
+
+#ifndef _GESTURE_TRIGGERS_TAB_H_
+#define _GESTURE_TRIGGERS_TAB_H_
+
+#include <gesture_triggers_tab_ui.h>
+
+#include <qstring.h>
+
+#include <kdialogbase.h>
+
+namespace KHotKeys
+{
+
+class Trigger_list;
+class Action_data;
+
+class Gesture_triggers_tab
+ : public Gesture_triggers_tab_ui
+ {
+ Q_OBJECT
+ public:
+ Gesture_triggers_tab( QWidget* parent_P = NULL, const char* name_P = NULL );
+ void set_data( const Trigger_list* triggers_P );
+ Trigger_list* get_data( Action_data* data_P ) const;
+ protected:
+ virtual void edit_gesture_pressed1();
+ virtual void edit_gesture_pressed2();
+ virtual void edit_gesture_pressed3();
+ public slots:
+ void clear_data();
+ private:
+ QString gesture1, gesture2, gesture3;
+ };
+
+class GestureRecordPage;
+
+class Gesture_edit_dialog
+ : public KDialogBase
+ {
+ Q_OBJECT
+ public:
+ Gesture_edit_dialog( const QString& gesture_P );
+ QString edit_gesture();
+ private:
+ // CHECKME accept() ?
+ QString _gesture;
+ GestureRecordPage *_page;
+ };
+
+
+//***************************************************************************
+// Inline
+//***************************************************************************
+
+} // namespace KHotKeys
+
+#endif