1
/****************************************************************************
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"
19
#include <QtCore/QPointer>
27
class ShortcutsHandler;
29
KDE_EXPORT extern QPointer<ShortcutsHandler> keyboard_handler;
30
extern QPointer<WindowsHandler> windows_handler;
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
//***************************************************************************
44
//***************************************************************************
46
} // namespace KHotKeys