KDEUI
KGlobalAccelPrivate Class Reference
#include <kglobalaccel_p.h>
Public Types | |
| enum | Removal { SetInactive = 0, UnRegister } |
Public Member Functions | |
| void | _k_invokeAction (const QString &, const QString &, qlonglong) |
| void | _k_serviceOwnerChanged (const QString &name, const QString &oldOwner, const QString &newOwner) |
| void | _k_shortcutGotChanged (const QStringList &, const QList< int > &) |
| QString | componentFriendlyForAction (const KAction *action) |
| QString | componentUniqueForAction (const KAction *action) |
| void | doRegister (KAction *action) |
| org::kde::kglobalaccel::Component * | getComponent (const QString &componentUnique, bool remember) |
| QList< int > | intListFromShortcut (const KShortcut &cut) |
| KGlobalAccelPrivate (KGlobalAccel *) | |
| QStringList | makeActionId (const KAction *action) |
| void | readComponentData (const KComponentData &component) |
| void | remove (KAction *action, Removal r) |
| void | reRegisterAll () |
| KShortcut | shortcutFromIntList (const QList< int > &list) |
| void | updateGlobalShortcut (KAction *action, uint flags) |
Public Attributes | |
| QSet< KAction * > | actions |
| QHash< QString, org::kde::kglobalaccel::Component * > | components |
| bool | enabled |
| org::kde::KGlobalAccel | iface |
| bool | isUsingForeignComponentName |
| KComponentData | mainComponent |
| QMultiHash< QString, KAction * > | nameToAction |
| KGlobalAccel * | q |
Detailed Description
Definition at line 43 of file kglobalaccel_p.h.
Member Enumeration Documentation
- Enumerator:
-
SetInactive Forget the action in this class and mark it as not present in the KDED module. UnRegister Remove any trace of the action in this class and in the KDED module.
Definition at line 46 of file kglobalaccel_p.h.
Constructor & Destructor Documentation
| KGlobalAccelPrivate::KGlobalAccelPrivate | ( | KGlobalAccel * | q | ) |
Definition at line 103 of file kglobalaccel.cpp.
Member Function Documentation
| void KGlobalAccelPrivate::_k_invokeAction | ( | const QString & | componentUnique, | |
| const QString & | actionUnique, | |||
| qlonglong | timestamp | |||
| ) |
Definition at line 400 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::_k_serviceOwnerChanged | ( | const QString & | name, | |
| const QString & | oldOwner, | |||
| const QString & | newOwner | |||
| ) |
Definition at line 454 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::_k_shortcutGotChanged | ( | const QStringList & | actionId, | |
| const QList< int > & | keys | |||
| ) |
Definition at line 444 of file kglobalaccel.cpp.
Definition at line 393 of file kglobalaccel.cpp.
Definition at line 386 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::doRegister | ( | KAction * | action | ) |
Register the action in this class and in the KDED module.
Definition at line 230 of file kglobalaccel.cpp.
| org::kde::kglobalaccel::Component * KGlobalAccelPrivate::getComponent | ( | const QString & | componentUnique, | |
| bool | remember = false | |||
| ) |
Get the component componentUnique.
If remember is true the instance is cached and we subscribe to signals about changes to the component.
Definition at line 44 of file kglobalaccel.cpp.
| QList< int > KGlobalAccelPrivate::intListFromShortcut | ( | const KShortcut & | cut | ) |
Definition at line 364 of file kglobalaccel.cpp.
| QStringList KGlobalAccelPrivate::makeActionId | ( | const KAction * | action | ) |
Definition at line 352 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::readComponentData | ( | const KComponentData & | component | ) |
Definition at line 132 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::reRegisterAll | ( | ) |
Definition at line 465 of file kglobalaccel.cpp.
| KShortcut KGlobalAccelPrivate::shortcutFromIntList | ( | const QList< int > & | list | ) |
Definition at line 375 of file kglobalaccel.cpp.
| void KGlobalAccelPrivate::updateGlobalShortcut | ( | KAction * | action, | |
| uint | flags | |||
| ) |
Propagate any shortcut changes to the KDED module that does the bookkeeping and the key grabbing.
Definition at line 286 of file kglobalaccel.cpp.
Member Data Documentation
| QSet<KAction *> KGlobalAccelPrivate::actions |
Definition at line 77 of file kglobalaccel_p.h.
| QHash<QString, org::kde::kglobalaccel::Component *> KGlobalAccelPrivate::components |
Definition at line 82 of file kglobalaccel_p.h.
| org::kde::KGlobalAccel KGlobalAccelPrivate::iface |
Definition at line 84 of file kglobalaccel_p.h.
Definition at line 81 of file kglobalaccel_p.h.
| QMultiHash<QString, KAction *> KGlobalAccelPrivate::nameToAction |
Definition at line 76 of file kglobalaccel_p.h.
The documentation for this class was generated from the following files:
KDE 4.5 API Reference