KexiMacro::ExecuteAction Class Reference
#include <executeaction.h>
Inheritance diagram for KexiMacro::ExecuteAction:
Public Slots | |
| virtual void | activate (TDESharedPtr< KoMacro::Context > context) |
| Public Slots inherited from KoMacro::Action | |
| virtual void | activate (TDESharedPtr< Context > context)=0 |
Public Member Functions | |
| ExecuteAction () | |
| virtual | ~ExecuteAction () |
| virtual bool | notifyUpdated (TDESharedPtr< KoMacro::MacroItem > macroitem, const TQString &name) |
| Public Member Functions inherited from KexiMacro::KexiAction | |
| KexiAction (const TQString &name, const TQString &text) | |
| virtual | ~KexiAction () |
| KexiMainWindow * | mainWin () const |
| Public Member Functions inherited from KoMacro::Action | |
| Action (const TQString &name, const TQString &text=TQString()) | |
| virtual | ~Action () |
| virtual const TQString | toString () const |
| const TQString | name () const |
| void | setName (const TQString &name) |
| const TQString | text () const |
| void | setText (const TQString &text) |
| const TQString | comment () const |
| void | setComment (const TQString &comment) |
| bool | hasVariable (const TQString &name) const |
| TDESharedPtr< Variable > | variable (const TQString &name) const |
| Variable::Map | variables () const |
| TQStringList | variableNames () const |
| void | setVariable (TDESharedPtr< Variable > variable) |
| void | setVariable (const TQString &name, const TQString &text, const TQVariant &variant) |
| void | removeVariable (const TQString &name) |
| virtual bool | notifyUpdated (const TDESharedPtr< MacroItem > ¯oitem, const TQString &name) |
Additional Inherited Members | |
| Public Types inherited from KoMacro::Action | |
| typedef TQMap< TQString, TDESharedPtr< Action > > | Map |
Detailed Description
The ExecuteAction class implements a KoMacro::Action to provide functionality to execute an object like e.g.
a script or a macro.
Definition at line 39 of file executeaction.h.
Constructor & Destructor Documentation
◆ ExecuteAction()
| ExecuteAction::ExecuteAction | ( | ) |
Constructor.
Definition at line 39 of file executeaction.cpp.
◆ ~ExecuteAction()
|
virtual |
Destructor.
Definition at line 49 of file executeaction.cpp.
Member Function Documentation
◆ activate
|
virtualslot |
Called if the Action should be executed within the defined context .
Definition at line 73 of file executeaction.cpp.
◆ notifyUpdated()
|
virtual |
This function is called, when the KoMacro::Variable with name name used within the KoMacro::MacroItem macroitem got changed.
- Parameters
-
macroitem The KoMacro::MacroItem instance where the variable defined with nameis located in.name The name the KoMacro::Variable has.
- Returns
- true if the update was successfully else false is returned.
Definition at line 53 of file executeaction.cpp.
The documentation for this class was generated from the following files:
