KAccelShortcutList Class Reference
#include <kshortcutlist.h>
Inheritance diagram for KAccelShortcutList:

Detailed Description
KShortcutList implementation to access KAccel and KGlobalAccel lists.
Definition at line 198 of file kshortcutlist.h.
Public Member Functions | |
KAccelShortcutList (KAccel *accel) | |
KAccelShortcutList (KGlobalAccel *accel) | |
KAccelShortcutList (KAccelActions &actions, bool bGlobal) | |
virtual | ~KAccelShortcutList () |
virtual uint | count () const |
virtual QString | name (uint index) const |
virtual QString | label (uint index) const |
virtual QString | whatsThis (uint index) const |
virtual const KShortcut & | shortcut (uint index) const |
virtual const KShortcut & | shortcutDefault (uint index) const |
virtual bool | isConfigurable (uint index) const |
virtual bool | setShortcut (uint index, const KShortcut &shortcut) |
virtual bool | isGlobal (uint index) const |
virtual QVariant | getOther (Other, uint index) const |
virtual bool | setOther (Other, uint index, QVariant) |
virtual bool | save () const |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
KAccelActions & | m_actions |
bool | m_bGlobal |
Constructor & Destructor Documentation
|
Creates a new KShortcutList that accesses the given KAccel.
Definition at line 161 of file kshortcutlist.cpp. |
|
Creates a new KShortcutList that accesses the given KGlobalAccel.
Definition at line 169 of file kshortcutlist.cpp. |
Member Function Documentation
|
Returns the number of entries.
Implements KShortcutList. Definition at line 187 of file kshortcutlist.cpp. |
|
Checks whether the shortcut with the given
Implements KShortcutList. Definition at line 199 of file kshortcutlist.cpp. |
|
Checks whether the shortcut with the given
Reimplemented from KShortcutList. Definition at line 205 of file kshortcutlist.cpp. |
|
Returns the (i18n'd) label of the shortcut with the given
Implements KShortcutList. Definition at line 191 of file kshortcutlist.cpp. |
|
Returns the name of the shortcut with the given
Implements KShortcutList. Definition at line 189 of file kshortcutlist.cpp. |
|
Save the shortcut list.
Implements KShortcutList. Definition at line 209 of file kshortcutlist.cpp. |
|
Sets the shortcut of the given entry.
Implements KShortcutList. Definition at line 201 of file kshortcutlist.cpp. |
|
Returns the shortcut with the given
Implements KShortcutList. Definition at line 195 of file kshortcutlist.cpp. |
|
Returns default shortcut with the given
Implements KShortcutList. Definition at line 197 of file kshortcutlist.cpp. |
|
used to extend the interface with virtuals without breaking binary compatibility
Reimplemented from KShortcutList. Definition at line 215 of file kshortcutlist.cpp. |
|
Returns the (i18n'd) What's This text of the shortcut with the given
Implements KShortcutList. Definition at line 193 of file kshortcutlist.cpp. |
Member Data Documentation
|
Actions (collection) for this shortcut list. Set by constructor. Definition at line 244 of file kshortcutlist.h. |
|
Is this shortcut list global? Access through isGlobal().
Definition at line 246 of file kshortcutlist.h. |
The documentation for this class was generated from the following files: