summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/khotkeysglobal.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/shared/khotkeysglobal.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/shared/khotkeysglobal.h')
-rw-r--r--khotkeys/shared/khotkeysglobal.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/khotkeys/shared/khotkeysglobal.h b/khotkeys/shared/khotkeysglobal.h
new file mode 100644
index 000000000..873473e0f
--- /dev/null
+++ b/khotkeys/shared/khotkeysglobal.h
@@ -0,0 +1,59 @@
+/****************************************************************************
+
+ KHotKeys
+
+ Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
+
+ Distributed under the terms of the GNU General Public License version 2.
+
+****************************************************************************/
+
+#ifndef _KHOTKEYSGLOBAL_H_
+#define _KHOTKEYSGLOBAL_H_
+
+#define KHOTKEYS_VERSION "2.1"
+#define KHOTKEYS_CONFIG_FILE "khotkeysrc"
+
+//#ifndef NDEBUG
+//#define KHOTKEYS_DEBUG
+//#endif
+
+#include <qstring.h>
+
+#include <klocale.h>
+
+class KConfig;
+class QObject;
+
+namespace KHotKeys
+{
+
+class Kbd;
+class Windows;
+class Action_data_group;
+
+extern Kbd* keyboard_handler;
+extern Windows* windows_handler;
+
+#define KHOTKEYS_DISABLE_COPY( cls ) private: cls( const cls& ); cls& operator=( const cls& )
+
+// CHECKME hmms :(
+KDE_EXPORT bool khotkeys_active();
+KDE_EXPORT void khotkeys_set_active( bool active_P );
+
+QString get_menu_entry_from_path( const QString& path_P );
+
+KDE_EXPORT void init_global_data( bool active_P, QObject* owner_P );
+
+const char* const MENU_EDITOR_ENTRIES_GROUP_NAME = I18N_NOOP( "Menu Editor entries" );
+
+KDE_EXPORT bool haveArts();
+KDE_EXPORT void disableArts();
+
+//***************************************************************************
+// Inline
+//***************************************************************************
+
+} // namespace KHotKeys
+
+#endif