add more spacing
[personal-kdebase.git] / workspace / khotkeys / libkhotkeysprivate / khotkeysglobal.h
blobcaa881d9406691ea12ced69bc0602c49e7e22736
1 /****************************************************************************
3 KHotKeys
5 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
7 Distributed under the terms of the GNU General Public License version 2.
9 ****************************************************************************/
11 #ifndef _KHOTKEYSGLOBAL_H_
12 #define _KHOTKEYSGLOBAL_H_
14 #define KHOTKEYS_VERSION "2.1"
15 #define KHOTKEYS_CONFIG_FILE "khotkeysrc"
17 #include <klocale.h>
19 #include <QtCore/QPointer>
21 class QObject;
23 namespace KHotKeys
26 class Windows;
27 class ShortcutsHandler;
29 extern QPointer<ShortcutsHandler> keyboard_handler;
30 extern QPointer<Windows> windows_handler;
32 // CHECKME hmms :(
33 KDE_EXPORT bool khotkeys_active();
34 KDE_EXPORT void khotkeys_set_active( bool active_P );
36 QString get_menu_entry_from_path( const QString& path_P );
38 KDE_EXPORT void init_global_data( bool active_P, QObject* owner_P );
40 const char* const MENU_EDITOR_ENTRIES_GROUP_NAME = I18N_NOOP( "Menu Editor entries" );
42 KDE_EXPORT bool haveArts();
43 KDE_EXPORT void disableArts();
45 //***************************************************************************
46 // Inline
47 //***************************************************************************
49 } // namespace KHotKeys
51 #endif