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,
virtual TQString name(uint index) const
Returns the name of the shortcut with the given index.
Definition tdeshortcutlist.cpp:189
TDEAccelShortcutList(TDEAccel *accel)
Creates a new TDEShortcutList that accesses the given TDEAccel.
Definition tdeshortcutlist.cpp:161
virtual const TDEShortcut & shortcutDefault(uint index) const
Returns default shortcut with the given index.
Definition tdeshortcutlist.cpp:197
virtual bool isGlobal(uint index) const
Checks whether the shortcut with the given index is saved in the global configuration.
Definition tdeshortcutlist.cpp:205
virtual bool isConfigurable(uint index) const
Checks whether the shortcut with the given index is configurable.
Definition tdeshortcutlist.cpp:199
virtual TQString whatsThis(uint index) const
Returns the (i18n'd) What's This text of the shortcut with the given index.
Definition tdeshortcutlist.cpp:193
virtual TQString label(uint index) const
Returns the (i18n'd) label of the shortcut with the given index.
Definition tdeshortcutlist.cpp:191
virtual void virtual_hook(int id, void *data)
used to extend the interface with virtuals without breaking binary compatibility
Definition tdeshortcutlist.cpp:215
virtual bool setShortcut(uint index, const TDEShortcut &shortcut)
Sets the shortcut of the given entry.
Definition tdeshortcutlist.cpp:201
TDEAccelActions & m_actions
Actions (collection) for this shortcut list.
Definition tdeshortcutlist.h:244
virtual const TDEShortcut & shortcut(uint index) const
Returns the shortcut with the given index.
Definition tdeshortcutlist.cpp:195
TDEGlobalAccel allows you to have global accelerators that are independent of the focused window.
Definition kglobalaccel.h:46
virtual int index(const TQString &sName) const
Returns the index of the shortcut with he given name.
Definition tdeshortcutlist.cpp:31
virtual bool readSettings(const TQString &sConfigGroup=TQString::null, TDEConfigBase *pConfig=0)
Loads the shortcuts from the given configuration file.
Definition tdeshortcutlist.cpp:71
virtual bool isGlobal(uint index) const
Checks whether the shortcut with the given index is saved in the global configuration.
Definition tdeshortcutlist.cpp:26
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 bool writeSettings(const TQString &sConfigGroup=TQString::null, TDEConfigBase *pConfig=0, bool bWriteAll=false, bool bGlobal=false) const
Writes the shortcuts to the given configuration file.
Definition tdeshortcutlist.cpp:109
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 void virtual_hook(int id, void *data)
used to extend the interface with virtuals without breaking binary compatibility
Definition tdeshortcutlist.cpp:212
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
virtual bool isConfigurable(uint index) const
Checks whether the shortcut with the given index is configurable.
Definition tdestdaccel.cpp:362
virtual TQString whatsThis(uint index) const
Returns the (i18n'd) What's This text of the shortcut with the given index.
Definition tdestdaccel.cpp:345
virtual TQString name(uint index) const
Returns the name of the shortcut with the given index.
Definition tdestdaccel.cpp:339
virtual const TDEShortcut & shortcut(uint index) const
Returns the shortcut with the given index.
Definition tdestdaccel.cpp:348
virtual TQString label(uint index) const
Returns the (i18n'd) label of the shortcut with the given index.
Definition tdestdaccel.cpp:342
virtual const TDEShortcut & shortcutDefault(uint index) const
Returns default shortcut with the given index.
Definition tdestdaccel.cpp:355
virtual bool setShortcut(uint index, const TDEShortcut &shortcut)
Sets the shortcut of the given entry.
Definition tdestdaccel.cpp:365
virtual void virtual_hook(int id, void *data)
used to extend the interface with virtuals without breaking binary compatibility
Definition tdeshortcutlist.cpp:218
Convenient methods for access to the common accelerator keys in the key configuration.
Definition tdeshortcutlist.h:254
Trinity API Reference