summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/general_tab.h
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/kcontrol/general_tab.h')
-rw-r--r--khotkeys/kcontrol/general_tab.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/khotkeys/kcontrol/general_tab.h b/khotkeys/kcontrol/general_tab.h
new file mode 100644
index 000000000..f9096b3ad
--- /dev/null
+++ b/khotkeys/kcontrol/general_tab.h
@@ -0,0 +1,47 @@
+/****************************************************************************
+
+ KHotKeys
+
+ Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
+
+ Distributed under the terms of the GNU General Public License version 2.
+
+****************************************************************************/
+
+#ifndef _GENERAL_TAB_H_
+#define _GENERAL_TAB_H_
+
+#include <general_tab_ui.h>
+
+namespace KHotKeys
+{
+
+class Action_data;
+class Trigger_list;
+class Action_data_group;
+class Windowdef_list;
+class Action_list;
+
+class General_tab
+ : public General_tab_ui
+ {
+ Q_OBJECT
+ public:
+ General_tab( QWidget* parent_P = NULL, const char* name_P = NULL );
+ void set_data( const Action_data* data_P );
+ void get_data( QString& name_O, QString& comment_O, bool& enabled_O );
+ public slots:
+ void clear_data();
+ signals:
+ void action_type_changed( int type_P );
+ protected slots:
+ void action_name_changed( const QString& name_P );
+ };
+
+//***************************************************************************
+// Inline
+//***************************************************************************
+
+} // namespace KHotKeys
+
+#endif