#include <scriptaction.h>
Public Member Functions | |
| ScriptActionCollection (const TQString &text, TDEActionCollection *ac, const char *name) | |
| ~ScriptActionCollection () | |
| ScriptAction::Ptr | action (const TQCString &name) |
| TQValueList< ScriptAction::Ptr > | actions () |
| TDEActionMenu * | actionMenu () |
| void | attach (ScriptAction::Ptr action) |
| void | detach (ScriptAction::Ptr action) |
| void | clear () |
Detailed Description
A collection to store ScriptAction shared pointers.
A ScriptAction instance could be stored within multiple ScriptActionCollection instances.
Definition at line 193 of file scriptaction.h.
Constructor & Destructor Documentation
◆ ScriptActionCollection()
|
inline |
Constructor.
- Parameters
-
text The text used to display some describing caption. ac The TDEActionCollection which should be used to as initial content for the TDEActionMenu m_actionmenu . name The internal name.
Definition at line 241 of file scriptaction.h.
◆ ~ScriptActionCollection()
|
inline |
Destructor.
Definition at line 249 of file scriptaction.h.
Member Function Documentation
◆ action()
|
inline |
- Returns
- the ScriptAction instance which has the name
nameor NULL if there exists no such action.
Definition at line 258 of file scriptaction.h.
◆ actionMenu()
|
inline |
- Returns
- the TDEActionMenu m_actionmenu .
Definition at line 268 of file scriptaction.h.
◆ actions()
|
inline |
- Returns
- a list of actions.
Definition at line 263 of file scriptaction.h.
◆ attach()
|
inline |
Attach a ScriptAction instance to this ScriptActionCollection .
Definition at line 273 of file scriptaction.h.
◆ clear()
|
inline |
Clear this ScriptActionCollection .
The collection will be empty and there are no actions attach any longer.
Definition at line 296 of file scriptaction.h.
◆ detach()
|
inline |
Detach a ScriptAction instance from this ScriptActionCollection .
Definition at line 284 of file scriptaction.h.
The documentation for this class was generated from the following file:
