KoMacro::Context Class Reference
#include <context.h>
Inheritance diagram for KoMacro::Context:

Detailed Description
The context of an execution.If a Macro got executed it creates an instance of this class and passes it around all it's children as local execution context.
Definition at line 41 of file context.h.
Public Slots | |
| virtual void | activate (KSharedPtr< Context > context) |
This slot extends the slot above with the passed Context context which will be used as parent context for this context. | |
| virtual void | activateNext () |
| This slot continues execution. | |
Public Member Functions | |
| Context (KSharedPtr< Macro > macro) | |
| Constructor. | |
| ~Context () | |
| Destructor. | |
| bool | hasVariable (const QString &name) const |
| KSharedPtr< Variable > | variable (const QString &name) const |
| Variable::Map | variables () const |
| void | setVariable (const QString &name, KSharedPtr< Variable > variable) |
Set the variable variable defined with name name . | |
| KSharedPtr< Macro > | macro () const |
| KSharedPtr< MacroItem > | macroItem () const |
| bool | hadException () const |
| Exception * | exception () const |
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 87 of file context.cpp. |
|
|
Destructor.
Definition at line 94 of file context.cpp. |
Member Function Documentation
|
|
This slot extends the slot above with the passed Context
Definition at line 220 of file context.cpp. References setVariable(). |
|
|
This slot continues execution.
Definition at line 244 of file context.cpp. |
|
|
Definition at line 159 of file context.cpp. |
|
|
Definition at line 153 of file context.cpp. |
|
|
Definition at line 100 of file context.cpp. |
|
|
Definition at line 141 of file context.cpp. |
|
|
Definition at line 147 of file context.cpp. |
|
||||||||||||
|
Set the variable If there exists already a variable with that name replace it. Definition at line 132 of file context.cpp. Referenced by activate(). |
|
|
Definition at line 107 of file context.cpp. |
|
|
Definition at line 126 of file context.cpp. |
The documentation for this class was generated from the following files:
