KexiMacroView Class Reference
#include <keximacroview.h>
Inheritance diagram for KexiMacroView:

Detailed Description
The KexiMacroView implements KexiViewBase to provide a base KexiView instance for Macros.The KexiMacroDesignView and the KexiMacroTextView are inherited from this class.
Definition at line 42 of file keximacroview.h.
Public Slots | |
| void | execute (QObject *sender=0) |
| This slot will be invoked if Kexi's menuitem Data=>Execute got activated and will execute the Macro. | |
Public Member Functions | |
| KexiMacroView (KexiMainWindow *mainwin, QWidget *parent,::KoMacro::Macro *const macro, const char *name=0) | |
| Constructor. | |
| virtual | ~KexiMacroView () |
| Destructor. | |
| KSharedPtr< KoMacro::Macro > | macro () const |
| virtual bool | loadData () |
| Load the data from XML source and fill the internally used KoMacro::Macro instance. | |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| Try to call storeData with new data we like to store. | |
| virtual tristate | storeData (bool dontAsk=false) |
| Try to store the modified data in the already opened and currently used KexiDB::SchemaData instance. | |
Protected Member Functions | |
| virtual tristate | beforeSwitchTo (int mode, bool &dontstore) |
| Called by KexiDialogBase::switchToViewMode() right before dialog is switched to new mode. | |
| virtual tristate | afterSwitchFrom (int mode) |
| Called by KexiDialogBase::switchToViewMode() right after dialog is switched to new mode. | |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
Definition at line 73 of file keximacroview.cpp. |
Member Function Documentation
|
|
Called by KexiDialogBase::switchToViewMode() right after dialog is switched to new mode.
Reimplemented from KexiViewBase. Definition at line 90 of file keximacroview.cpp. References kexipluginsdbg, and loadData(). |
|
||||||||||||
|
Called by KexiDialogBase::switchToViewMode() right before dialog is switched to new mode.
Reimplemented from KexiViewBase. Definition at line 84 of file keximacroview.cpp. References kexipluginsdbg. |
|
|
This slot will be invoked if Kexi's menuitem Data=>Execute got activated and will execute the Macro.
Definition at line 162 of file keximacroview.cpp. References KexiViewBase::mainWin(). Referenced by KexiMacroPart::execute(). |
|
|
Load the data from XML source and fill the internally used KoMacro::Macro instance.
Reimplemented in KexiMacroDesignView, and KexiMacroTextView. Definition at line 97 of file keximacroview.cpp. References kexipluginsdbg, and KexiViewBase::loadDataBlock(). Referenced by afterSwitchFrom(), KexiMacroPart::execute(), and KexiMacroDesignView::loadData(). |
|
|
Definition at line 79 of file keximacroview.cpp. Referenced by KexiMacroPart::execute(). |
|
|
Try to store the modified data in the already opened and currently used KexiDB::SchemaData instance.
Reimplemented from KexiViewBase. Reimplemented in KexiMacroTextView. Definition at line 151 of file keximacroview.cpp. References kexipluginsdbg, KexiViewBase::parentDialog(), and KexiViewBase::storeDataBlock(). Referenced by storeNewData(). |
|
||||||||||||
|
Try to call storeData with new data we like to store. On success the matching KexiDB::SchemaData is returned.
Reimplemented from KexiViewBase. Definition at line 129 of file keximacroview.cpp. References KexiDB::SchemaData::id(), kexipluginsdbg, KexiViewBase::parentDialog(), KexiDB::Connection::removeObject(), storeData(), and KexiViewBase::storeNewData(). |
The documentation for this class was generated from the following files:
