Kexi API Documentation (2.0 alpha)

KexiScriptDesignView Class Reference

#include <kexiscriptdesignview.h>

Inheritance diagram for KexiScriptDesignView:

KexiViewBase QWidget KexiActionProxy List of all members.

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)
 Constructor.
virtual ~KexiScriptDesignView ()
 Destructor.
Kross::Api::ScriptAction * scriptAction () const
virtual KoProperty::Set * propertySet ()
virtual KexiDB::SchemaDatastoreNewData (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.


Constructor & Destructor Documentation

KexiScriptDesignView::KexiScriptDesignView KexiMainWindow mainWin,
QWidget parent,
Kross::Api::ScriptAction *  scriptaction
 

Constructor.

Definition at line 67 of file kexiscriptdesignview.cpp.

References KexiViewBase::addChildView(), KexiEditor::isAdvancedEditor(), KexiActionProxy::plugSharedAction(), and KexiViewBase::setViewWidget().

KexiScriptDesignView::~KexiScriptDesignView  )  [virtual]
 

Destructor.

Definition at line 105 of file kexiscriptdesignview.cpp.


Member Function Documentation

KoProperty::Set * KexiScriptDesignView::propertySet  )  [virtual]
 

Returns:
a property set for this view.

Reimplemented from KexiViewBase.

Definition at line 182 of file kexiscriptdesignview.cpp.

Kross::Api::ScriptAction * KexiScriptDesignView::scriptAction  )  const
 

Returns:
the Kross::Api::ScriptAction this KexiScriptDesignView is responsible for.

Definition at line 111 of file kexiscriptdesignview.cpp.

Referenced by KexiScriptPart::execute().

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.

References kexipluginsdbg, KexiViewBase::parentDialog(), and KexiViewBase::storeDataBlock().

Referenced by storeNewData().

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.

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:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:22 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003