kexi
KexiScriptDesignView Class Reference
#include <kexiscriptdesignview.h>
Inheritance diagram for KexiScriptDesignView:

Detailed Description
The KexiScriptDesignView class provides the KexiViewBase to manage script modules in the design-view.The design-view is used to be able to view and edit the scripting code via a KexiScriptEditor instance.
Definition at line 46 of file kexiscriptdesignview.h.
Public Member Functions | |
| KexiScriptDesignView (KexiMainWindow *mainWin, QWidget *parent, Kross::Api::ScriptAction *scriptaction) | |
| virtual | ~KexiScriptDesignView () |
| Kross::Api::ScriptAction * | scriptAction () const |
| virtual KoProperty::Set * | propertySet () |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| virtual tristate | storeData (bool dontAsk=false) |
Constructor & Destructor Documentation
| KexiScriptDesignView::KexiScriptDesignView | ( | KexiMainWindow * | mainWin, | |
| QWidget * | parent, | |||
| Kross::Api::ScriptAction * | scriptaction | |||
| ) |
| KexiScriptDesignView::~KexiScriptDesignView | ( | ) | [virtual] |
Member Function Documentation
| Kross::Api::ScriptAction * KexiScriptDesignView::scriptAction | ( | ) | const |
- Returns:
- the Kross::Api::ScriptAction this KexiScriptDesignView is responsible for.
Definition at line 111 of file kexiscriptdesignview.cpp.
| KoProperty::Set * KexiScriptDesignView::propertySet | ( | ) | [virtual] |
- Returns:
- a property set for this view.
Reimplemented from KexiViewBase.
Definition at line 182 of file kexiscriptdesignview.cpp.
| KexiDB::SchemaData * KexiScriptDesignView::storeNewData | ( | const KexiDB::SchemaData & | sdata, | |
| bool & | cancel | |||
| ) | [virtual] |
Try to call storeData with new data we like to store.
On success the matching KexiDB::SchemaData is returned.
- Parameters:
-
sdata The source KexiDB::SchemaData instance. cancel Cancel on failure and don't try to clean possible temporary created data up.
- Returns:
- The matching KexiDB::SchemaData instance or NULL if storing failed.
Reimplemented from KexiViewBase.
Definition at line 285 of file kexiscriptdesignview.cpp.
| tristate KexiScriptDesignView::storeData | ( | bool | dontAsk = false |
) | [virtual] |
Try to store the modified data in the already opened and currently used KexiDB::SchemaData instance.
Reimplemented from KexiViewBase.
Definition at line 307 of file kexiscriptdesignview.cpp.
The documentation for this class was generated from the following files:

