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