KexiMacro::KexiAction Class Reference
#include <kexiaction.h>
Inheritance diagram for KexiMacro::KexiAction:
Public Member Functions | |
| 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 |
| Public Slots inherited from KoMacro::Action | |
| virtual void | activate (TDESharedPtr< Context > context)=0 |
Detailed Description
Template class to offer common functionality needed by all KoMacro::Action implementations Kexi provides.
All the actions Kexi provides are inherited from this template class.
Definition at line 43 of file kexiaction.h.
Constructor & Destructor Documentation
◆ KexiAction()
| KexiAction::KexiAction | ( | const TQString & | name, |
| const TQString & | text ) |
Constructor.
- Parameters
-
name The unique name the KoMacro::Action has. This name will be used to identify the action. text The i18n-caption text used for display purposes.
Definition at line 28 of file kexiaction.cpp.
◆ ~KexiAction()
|
virtual |
Destructor.
Definition at line 41 of file kexiaction.cpp.
Member Function Documentation
◆ mainWin()
| KexiMainWindow * KexiAction::mainWin | ( | ) | const |
- Returns
- the KexiMainWindow instance we are running in.
Definition at line 45 of file kexiaction.cpp.
The documentation for this class was generated from the following files:
