#include <kshortcutlist.h>
Inheritance diagram for KShortcutList:

Public Methods | |
| KShortcutList () | |
| virtual unsigned int | count () const=0 |
| virtual QString | name (unsigned int index) const=0 |
| virtual QString | label (unsigned int index) const=0 |
| virtual QString | whatsThis (unsigned int index) const=0 |
| virtual const KShortcut & | shortcut (unsigned int index) const=0 |
| virtual const KShortcut & | shortcutDefault (unsigned int index) const=0 |
| virtual bool | isConfigurable (unsigned int index) const=0 |
| virtual bool | setShortcut (unsigned int index, const KShortcut &shortcut)=0 |
| virtual bool | isGlobal (unsigned int index) const |
| virtual int | index (const QString &sName) const |
| virtual int | index (const KKeySequence &keySeq) const |
| virtual const KInstance * | instance () const |
| virtual bool | save () const=0 |
| virtual bool | readSettings (const QString &sConfigGroup=QString::null, KConfigBase *pConfig=0) |
| virtual bool | writeSettings (const QString &sConfigGroup=QString::null, KConfigBase *pConfig=0, bool bWriteAll=false, bool bGlobal=false) const |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
| used to extend the interface with virtuals without breaking binary compatibility | |
KShortcutList is an abstract base class for KAccelShortcutList and KStdAccel::ShortcutList. It gives you an unified interface for accessing the accelerator lists of KAccel (using @KAccelShortcutList), KGlobalAccel (using @KAccelShortcutList), and KStdAccel (using KStdAccel::ShortcutList).
Definition at line 45 of file kshortcutlist.h.
|
|
Default constructor. |
|
|
Returns the number of entries.
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Returns the index of the shortcut with he given key sequence.
|
|
|
Returns the index of the shortcut with he given name.
|
|
|
The KInstance.
|
|
|
Checks whether the shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Checks whether the shortcut with the given
Reimplemented in KAccelShortcutList. |
|
|
Returns the (i18n'd) label of the shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Returns the name of the shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
||||||||||||
|
Loads the shortcuts from the given configuration file.
|
|
|
Save the shortcut list.
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
||||||||||||
|
Sets the shortcut of the given entry
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Returns the shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Returns default shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
|
Returns the (i18n'd) What's This text of the shortcut with the given
Implemented in KAccelShortcutList, and KStdAccel::ShortcutList. |
|
||||||||||||||||||||
|
Writes the shortcuts to the given configuration file.
|
1.2.18