~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to khotkeys/libkhotkeysprivate/khotkeysglobal.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
 
 
3
 KHotKeys
 
4
 
 
5
 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
 
6
 
 
7
 Distributed under the terms of the GNU General Public License version 2.
 
8
 
 
9
****************************************************************************/
 
10
 
 
11
#ifndef _KHOTKEYSGLOBAL_H_
 
12
#define _KHOTKEYSGLOBAL_H_
 
13
 
 
14
#define KHOTKEYS_VERSION "2.1"
 
15
#define KHOTKEYS_CONFIG_FILE "khotkeysrc"
 
16
 
 
17
#include <klocale.h>
 
18
 
 
19
#include <QtCore/QPointer>
 
20
 
 
21
class QObject;
 
22
 
 
23
namespace KHotKeys
 
24
{
 
25
 
 
26
class WindowsHandler;
 
27
class ShortcutsHandler;
 
28
 
 
29
KDE_EXPORT extern QPointer<ShortcutsHandler> keyboard_handler;
 
30
extern QPointer<WindowsHandler> windows_handler;
 
31
 
 
32
// CHECKME hmms :(
 
33
KDE_EXPORT bool khotkeys_active();
 
34
KDE_EXPORT void khotkeys_set_active( bool active_P );
 
35
 
 
36
QString get_menu_entry_from_path( const QString& path_P );
 
37
 
 
38
KDE_EXPORT void init_global_data( bool active_P, QObject* owner_P );
 
39
 
 
40
const char* const MENU_EDITOR_ENTRIES_GROUP_NAME = I18N_NOOP( "Menu Editor entries" );
 
41
 
 
42
//***************************************************************************
 
43
// Inline
 
44
//***************************************************************************
 
45
 
 
46
} // namespace KHotKeys
 
47
 
 
48
#endif