tdeaccel.h
175 TDEAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis,
183 TDEAccelAction* insert( const TQString& sAction, const TQString& sLabel, const TQString& sWhatsThis,
332 bool insertStdItem( TDEStdAccel::StdAccel id, const TQString& descr = TQString::null ) TDE_DEPRECATED;
336 bool connectItem( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot, bool bActivate = true ) TDE_DEPRECATED;
341 TDE_DEPRECATED bool connectItem( TDEStdAccel::StdAccel accel, const TQObject* pObjSlot, const char* psMethodSlot )
const TQString & configGroup() const
Returns the configuration group of the settings.
Definition tdeaccel.cpp:524
bool insertItem(const TQString &sLabel, const TQString &sAction, const char *psKey, int nIDMenu=0, TQPopupMenu *pMenu=0, bool bConfigurable=true) TDE_DEPRECATED
Definition tdeaccel.cpp:550
bool connectItem(const TQString &sAction, const TQObject *pObjSlot, const char *psMethodSlot, bool bActivate=true) TDE_DEPRECATED
Definition tdeaccel.cpp:587
bool insertStdItem(TDEStdAccel::StdAccel id, const TQString &descr=TQString::null) TDE_DEPRECATED
Definition tdeaccel.cpp:576
bool readSettings(TDEConfigBase *pConfig=0)
Read all shortcuts from pConfig, or (if pConfig is zero) from the application's configuration file TD...
Definition tdeaccel.cpp:530
bool updateConnections()
Updates the connections of the accelerations after changing them.
Definition tdeaccel.cpp:497
bool writeSettings(TDEConfigBase *pConfig=0) const
Write the current shortcuts to pConfig, or (if pConfig is zero) to the application's configuration fi...
Definition tdeaccel.cpp:536
bool setSlot(const TQString &sAction, const TQObject *pObjSlot, const char *psMethodSlot)
Set the slot to be called when the shortcut of the action named by sAction is pressed.
Definition tdeaccel.cpp:506
const TDEShortcut & shortcut(const TQString &sAction) const
Return the shortcut associated with the action named by sAction.
Definition tdeaccel.cpp:500
TDEAccel(TQWidget *pParent, const char *psName=0)
Creates a new TDEAccel that watches pParent, which is also the TQObject's parent.
Definition tdeaccel.cpp:417
TDEAccelAction * insert(const TQString &sAction, const TQString &sLabel, const TQString &sWhatsThis, const TDEShortcut &cutDef, const TQObject *pObjSlot, const char *psMethodSlot, bool bConfigurable=true, bool bEnabled=true)
Create an accelerator action.
Definition tdeaccel.cpp:445
bool setShortcut(const TQString &sAction, const TDEShortcut &shortcut)
Set the shortcut to be associated with the action named by sAction.
Definition tdeaccel.cpp:512
void setConfigGroup(const TQString &name)
Returns the configuration group of the settings.
Definition tdeaccel.cpp:527
The TDEShortcut class is used to represent a keyboard shortcut to an action.
Definition tdeshortcut.h:544
Convenient methods for access to the common accelerator keys in the key configuration.
Definition tdeshortcutlist.h:254
Trinity API Reference