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,
KShortcutList implementation to access KAccel and KGlobalAccel lists.
Definition: kshortcutlist.h:199
KAccelActions & m_actions
Actions (collection) for this shortcut list.
Definition: kshortcutlist.h:244
bool m_bGlobal
Is this shortcut list global? Access through isGlobal()
Definition: kshortcutlist.h:246
KGlobalAccel allows you to have global accelerators that are independent of the focused window.
Definition: kglobalaccel.h:46
KShortcutList is an abstract base class for KAccelShortcutList and KStdAccel::ShortcutList.
Definition: kshortcutlist.h:49
virtual TQString whatsThis(uint index) const =0
Returns the (i18n'd) What's This text of the shortcut with the given index.
virtual bool setShortcut(uint index, const KShortcut &shortcut)=0
Sets the shortcut of the given entry.
virtual const KShortcut & shortcutDefault(uint index) const =0
Returns default shortcut with the given index.
virtual TQString name(uint index) const =0
Returns the name of the shortcut with the given index.
virtual bool isConfigurable(uint index) const =0
Checks whether the shortcut with the given index is configurable.
virtual const KShortcut & shortcut(uint index) const =0
Returns the shortcut with the given index.
virtual TQString label(uint index) const =0
Returns the (i18n'd) label of the shortcut with the given index.
The KShortcut class is used to represent a keyboard shortcut to an action.
Definition: kshortcut.h:544
KShortcutList implementation that accesses KStdAccel actions.
Definition: kshortcutlist.h:264
Convenient methods for access to the common accelerator keys in the key configuration.
Definition: kshortcutlist.h:254
TQString whatsThis(StdAccel)
Returns an extended WhatsThis description for the given accelerator.
Definition: kstdaccel.cpp:165
KShortcut shortcutDefault(StdAccel id)
Returns the hardcoded default shortcut for id.
Definition: kstdaccel.cpp:202
TQString label(StdAccel id)
Returns a localized label for user-visible display.
Definition: kstdaccel.cpp:156
const KShortcut & shortcut(StdAccel id)
Returns the keybinding for accel.
Definition: kstdaccel.cpp:174