Kexi API Documentation (2.0 alpha)

KexiMacroTextView Class Reference

#include <keximacrotextview.h>

Inheritance diagram for KexiMacroTextView:

KexiMacroView KexiViewBase QWidget KexiActionProxy List of all members.

Detailed Description

The KexiMacroTextView implements KexiMacroView to provide a simple texteditor to edit the XML document of a Macro.

Definition at line 32 of file keximacrotextview.h.

Public Member Functions

 KexiMacroTextView (KexiMainWindow *mainwin, QWidget *parent,::KoMacro::Macro *const macro)
 Constructor.
virtual ~KexiMacroTextView ()
 Destructor.
virtual bool loadData ()
 Load the data and display it in the editor.
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

KexiMacroTextView::KexiMacroTextView KexiMainWindow mainwin,
QWidget parent,
::KoMacro::Macro *const   macro
 

Constructor.

Parameters:
mainwin The KexiMainWindow instance this KexiViewBase belongs to.
parent The parent widget this widget should be displayed in.
macro The KoMacro::Macro instance this view is for.

Definition at line 44 of file keximacrotextview.cpp.

KexiMacroTextView::~KexiMacroTextView  )  [virtual]
 

Destructor.

Definition at line 57 of file keximacrotextview.cpp.


Member Function Documentation

bool KexiMacroTextView::loadData  )  [virtual]
 

Load the data and display it in the editor.

Reimplemented from KexiMacroView.

Definition at line 67 of file keximacrotextview.cpp.

References kexipluginsdbg, KexiViewBase::loadDataBlock(), and KexiViewBase::setDirty().

tristate KexiMacroTextView::storeData bool  dontAsk = false  )  [virtual]
 

Try to store the modified data in the already opened and currently used KexiDB::SchemaData instance.

Reimplemented from KexiMacroView.

Definition at line 83 of file keximacrotextview.cpp.

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


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:11 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003