KAccelActions Class Reference
List of all members.Detailed Description
Definition at line 369 of file kaccelaction.h.
Public Member Functions | |
KAccelActions () | |
KAccelActions (const KAccelActions &) | |
virtual | ~KAccelActions () |
void | clear () |
bool | init (const KAccelActions &actions) |
bool | init (KConfigBase &config, const QString &sGroup) |
void | updateShortcuts (KAccelActions &shortcuts) |
int | actionIndex (const QString &sAction) const |
KAccelAction * | actionPtr (uint index) |
const KAccelAction * | actionPtr (uint index) const |
KAccelAction * | actionPtr (const QString &sAction) |
const KAccelAction * | actionPtr (const QString &sAction) const |
KAccelAction * | actionPtr (KKeySequence cut) |
KAccelAction & | operator[] (uint index) |
const KAccelAction & | operator[] (uint index) const |
KAccelAction * | insert (const QString &sAction, const QString &sLabel, const QString &sWhatsThis, const KShortcut &rgCutDefaults3, const KShortcut &rgCutDefaults4, const QObject *pObjSlot=0, const char *psMethodSlot=0, bool bConfigurable=true, bool bEnabled=true) |
KAccelAction * | insert (const QString &sName, const QString &sLabel) |
bool | remove (const QString &sAction) |
bool | readActions (const QString &sConfigGroup="Shortcuts", KConfigBase *pConfig=0) |
bool | writeActions (const QString &sConfigGroup="Shortcuts", KConfigBase *pConfig=0, bool bWriteAll=false, bool bGlobal=false) const |
void | emitKeycodeChanged () |
uint | count () const |
Protected Member Functions | |
void | resize (uint new_size) |
void | insertPtr (KAccelAction *) |
Protected Attributes | |
KAccelBase * | m_pKAccelBase |
KAccelAction ** | m_prgActions |
uint | m_nSizeAllocated |
uint | m_nSize |
Friends | |
class | KAccelBase |
Constructor & Destructor Documentation
|
Creates a new, empty KAccelActions object.
Definition at line 237 of file kaccelaction.cpp. |
|
Copy constructor (deep copy).
Definition at line 243 of file kaccelaction.cpp. |
Member Function Documentation
|
Retrieves the index of the action with the given name.
Definition at line 374 of file kaccelaction.cpp. |
|
Returns the action with the given key sequence.
Definition at line 407 of file kaccelaction.cpp. |
|
Returns the action with the given name.
Definition at line 401 of file kaccelaction.cpp. |
|
Returns the action with the given name.
Definition at line 395 of file kaccelaction.cpp. |
|
Returns the action with the given
Definition at line 390 of file kaccelaction.cpp. |
|
Returns the action with the given
Definition at line 385 of file kaccelaction.cpp. |
|
Removes all items from this collection.
Definition at line 271 of file kaccelaction.cpp. |
|
Returns the number of actions in the collection.
Definition at line 564 of file kaccelaction.cpp. |
|
Emit a keycodeChanged signal.
Definition at line 558 of file kaccelaction.cpp. |
|
Loads the actions from the given configuration file.
Definition at line 297 of file kaccelaction.cpp. |
|
Initializes this object with the given actions. It will make a deep copy of all actions.
Definition at line 282 of file kaccelaction.cpp. |
|
Inserts an action into the collection.
Definition at line 428 of file kaccelaction.cpp. |
|
Inserts an action into the collection.
Definition at line 445 of file kaccelaction.cpp. |
|
Add a action to this collection.
Definition at line 343 of file kaccelaction.cpp. |
|
Returns the action with the given
Definition at line 423 of file kaccelaction.cpp. |
|
Returns the action with the given
Definition at line 418 of file kaccelaction.cpp. |
|
Loads the actions from the given configuration file.
Definition at line 486 of file kaccelaction.cpp. |
|
Removes the given action.
Definition at line 467 of file kaccelaction.cpp. |
|
Resize the list to the given number
Definition at line 321 of file kaccelaction.cpp. |
|
Updates the shortcuts of all actions in this object with the shortcuts from the given object.
Definition at line 349 of file kaccelaction.cpp. |
|
Writes the actions to the given configuration file.
Definition at line 505 of file kaccelaction.cpp. |
Member Data Documentation
|
< Amount in use.
Definition at line 554 of file kaccelaction.h. |
|
< Allocated size of the array.
Definition at line 554 of file kaccelaction.h. |
|
Base object that proxies signals from us.
Definition at line 551 of file kaccelaction.h. |
|
Array of actions we're hanging on to.
Definition at line 553 of file kaccelaction.h. |
The documentation for this class was generated from the following files: