summaryrefslogtreecommitdiffstats
path: root/khotkeys/app/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/app/app.h')
-rw-r--r--khotkeys/app/app.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/khotkeys/app/app.h b/khotkeys/app/app.h
new file mode 100644
index 000000000..6166276cb
--- /dev/null
+++ b/khotkeys/app/app.h
@@ -0,0 +1,43 @@
+/****************************************************************************
+
+ KHotKeys
+
+ Copyright (C) 1999-2001 Lubos Lunak <[email protected]>
+
+ Distributed under the terms of the GNU General Public License version 2.
+
+****************************************************************************/
+
+#ifndef _KHOTKEYS_APP_H_
+#define _KHOTKEYS_APP_H_
+
+#include <kuniqueapplication.h>
+
+namespace KHotKeys
+{
+
+class Action_data_group;
+
+class KHotKeysApp
+ : public KUniqueApplication
+ {
+ Q_OBJECT
+ K_DCOP
+ k_dcop:
+ ASYNC reread_configuration();
+ ASYNC quit();
+ public:
+ KHotKeysApp();
+ virtual ~KHotKeysApp();
+ private:
+ Action_data_group* actions_root;
+ QObject* delete_helper;
+ };
+
+//***************************************************************************
+// Inline
+//***************************************************************************
+
+} // namespace KHotKeys
+
+#endif