kshortcutlist.h
165 virtual bool readSettings( const TQString& sConfigGroup = TQString::null, KConfigBase* pConfig = 0 );
176 virtual bool writeSettings( const TQString& sConfigGroup = TQString::null, KConfigBase* pConfig = 0,
const KShortcut & shortcut(StdAccel id)
Returns the keybinding for accel.
Definition: kstdaccel.cpp:174
KShortcut shortcutDefault(StdAccel id)
Returns the hardcoded default shortcut for id.
Definition: kstdaccel.cpp:202
virtual const KShortcut & shortcutDefault(uint index) const =0
Returns default shortcut with the given index.
TQString label(StdAccel id)
Returns a localized label for user-visible display.
Definition: kstdaccel.cpp:156
virtual void virtual_hook(int id, void *data)
used to extend the interface with virtuals without breaking binary compatibility
Definition: kshortcutlist.cpp:212
virtual const KShortcut & shortcut(uint index) const =0
Returns the shortcut with the given index.
virtual TQString whatsThis(uint index) const =0
Returns the (i18n'd) What's This text of the shortcut with the given index.
The KShortcut class is used to represent a keyboard shortcut to an action.
Definition: kshortcut.h:543
virtual TQString label(uint index) const =0
Returns the (i18n'd) label of the shortcut with the given index.
KShortcutList implementation to access KAccel and KGlobalAccel lists.
Definition: kshortcutlist.h:198
KShortcutList is an abstract base class for KAccelShortcutList and KStdAccel::ShortcutList.
Definition: kshortcutlist.h:48
KAccelActions & m_actions
Actions (collection) for this shortcut list.
Definition: kshortcutlist.h:244
KShortcutList implementation that accesses KStdAccel actions.
Definition: kshortcutlist.h:263
bool m_bGlobal
Is this shortcut list global? Access through isGlobal()
Definition: kshortcutlist.h:246
virtual bool isConfigurable(uint index) const =0
Checks whether the shortcut with the given index is configurable.
virtual bool setShortcut(uint index, const KShortcut &shortcut)=0
Sets the shortcut of the given entry.
virtual TQString name(uint index) const =0
Returns the name of the shortcut with the given index.
Convenient methods for access to the common accelerator keys in the key configuration.
Definition: kshortcutlist.h:254
KGlobalAccel allows you to have global accelerators that are independent of the focused window...
Definition: kglobalaccel.h:45
virtual bool isGlobal(uint index) const
Checks whether the shortcut with the given index is saved in the global configuration.
Definition: kshortcutlist.cpp:26