KDEUI
Go to the documentation of this file. 1 #ifndef KGLOBALSHORTCUTINFO_H
2 #define KGLOBALSHORTCUTINFO_H
23 #include <QtCore/QList>
24 #include <QtCore/QObject>
25 #include <QtGui/QKeySequence>
26 #include <QtDBus/QDBusArgument>
29 class KGlobalShortcutInfoPrivate;
39 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.kglobalaccel.KShortcutInfo")
41 Q_SCRIPTABLE Q_PROPERTY(
QString uniqueName READ uniqueName)
42 Q_SCRIPTABLE Q_PROPERTY(
QString friendlyName READ friendlyName)
44 Q_SCRIPTABLE Q_PROPERTY(
QString componentUniqueName READ componentUniqueName)
45 Q_SCRIPTABLE Q_PROPERTY(
QString componentFriendlyName READ componentFriendlyName)
47 Q_SCRIPTABLE Q_PROPERTY(
QString contextUniqueName READ contextUniqueName)
48 Q_SCRIPTABLE Q_PROPERTY(
QString contextFriendlyName READ contextFriendlyName)
57 KGlobalShortcutInfo(const KGlobalShortcutInfo &rhs);
59 ~KGlobalShortcutInfo();
61 KGlobalShortcutInfo& operator= (const KGlobalShortcutInfo& rhs);
63 QString contextFriendlyName() const;
65 QString contextUniqueName() const;
67 QString componentFriendlyName() const;
69 QString componentUniqueName() const;
81 friend class GlobalShortcut;
88 KGlobalShortcutInfoPrivate *d;
91 Q_DECLARE_METATYPE(KGlobalShortcutInfo)
92 Q_DECLARE_METATYPE(
QList<KGlobalShortcutInfo>)
const KShortcut & shortcut(StandardShortcut id)
Returns the keybinding for accel.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.