KDEUI
Go to the documentation of this file.
22 #ifndef _KGLOBALACCEL_H_
23 #define _KGLOBALACCEL_H_
29 #include <QtCore/QObject>
34 class OrgKdeKglobalaccelComponentInterface;
59 ComponentFriendly = 2,
74 static void stealShortcutSystemwide(
const QKeySequence &seq);
89 static void activateGlobalShortcutContext(
116 static bool cleanComponent(
const QString &componentUnique);
125 static bool isComponentActive(
const QString &componentName);
146 static bool isGlobalShortcutAvailable(
147 const QKeySequence &seq,
159 static bool promptStealShortcutSystemwide(
162 const QKeySequence &seq);
169 #ifndef KDE_NO_DEPRECATED
170 KDE_DEPRECATED
bool isEnabled()
const;
178 #ifndef KDE_NO_DEPRECATED
179 KDE_DEPRECATED
void setEnabled(
bool enabled);
198 #ifndef KDE_NO_DEPRECATED
199 KDE_DEPRECATED
void overrideMainComponentData(
const KComponentData &componentData);
208 #ifndef KDE_NO_DEPRECATED
217 #ifndef KDE_NO_DEPRECATED
226 #ifndef KDE_NO_DEPRECATED
227 KDE_DEPRECATED
static QStringList findActionNameSystemwide(
const QKeySequence &seq);
235 #ifndef KDE_NO_DEPRECATED
236 KDE_DEPRECATED
static bool promptStealShortcutSystemwide(
QWidget *parent,
const QStringList &actionIdentifier,
const QKeySequence &seq);
250 OrgKdeKglobalaccelComponentInterface* getComponent(
const QString &componentUnique);
252 class KGlobalAccelPrivate *
const d;
254 Q_PRIVATE_SLOT(d,
void _k_invokeAction(
const QString &,
const QString &, qlonglong))
255 Q_PRIVATE_SLOT(d,
void _k_shortcutGotChanged(const
QStringList&, const
QList<
int>&))
256 Q_PRIVATE_SLOT(d,
void _k_serviceOwnerChanged(const
QString&, const QString&, const QString&))
259 #endif // _KGLOBALACCEL_H_
Represents a keyboard shortcut.
actionIdFields
Index for actionId QStringLists.
Class to encapsulate user-driven action or event.
const KComponentData & mainComponent()
Configurable global shortcut support.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.