kexi

KexiMacroTextView Class Reference

#include <keximacrotextview.h>

Inheritance diagram for KexiMacroTextView:
KexiMacroView KexiViewBase KexiActionProxy

Public Member Functions

 KexiMacroTextView (KexiMainWindow *mainwin, TQWidget *parent, ::KoMacro::Macro *const macro)
virtual ~KexiMacroTextView ()
virtual bool loadData ()
virtual tristate storeData (bool dontAsk=false)
Public Member Functions inherited from KexiMacroView
 KexiMacroView (KexiMainWindow *mainwin, TQWidget *parent, ::KoMacro::Macro *const macro, const char *name=0)
virtual ~KexiMacroView ()
TDESharedPtr< KoMacro::Macro > macro () const
virtual KexiDB::SchemaData * storeNewData (const KexiDB::SchemaData &sdata, bool &cancel)
Public Member Functions inherited from KexiViewBase
 KexiViewBase (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0)
KexiMainWindow * mainWin () const
KexiDialogBase * parentDialog () const
KexiPart::Part * part () const
virtual TQSize preferredSizeHint (const TQSize &otherSize)
virtual bool eventFilter (TQObject *o, TQEvent *e)
void addChildView (KexiViewBase *childView)
virtual bool dirty () const
int viewMode () const
virtual TDEAction * sharedAction (const char *action_name)
virtual void setAvailable (const char *action_name, bool set)
Public Member Functions inherited from KexiActionProxy
 KexiActionProxy (TQObject *receiver, KexiSharedActionHost *host=0)
bool activateSharedAction (const char *action_name, bool alsoCheckInChildren=true)
void setSharedActionHost (KexiSharedActionHost &host)
bool isAvailable (const char *action_name, bool alsoCheckInChildren=true) const
bool isSupported (const char *action_name) const
void setActionProxyParent_internal (KexiActionProxy *parent)

Additional Inherited Members

Public Slots inherited from KexiMacroView
void execute (TQObject *sender=0)
Public Slots inherited from KexiViewBase
virtual void setFocus ()
virtual void propertySetSwitched ()
void setDirty (bool set)
void setDirty ()
Signals inherited from KexiViewBase
void closing (bool &cancel)
void focus (bool in)
Public Attributes inherited from KexiActionProxy
KexiActionProxy * m_focusedChild
Protected Member Functions inherited from KexiMacroView
virtual tristate beforeSwitchTo (int mode, bool &dontstore)
virtual tristate afterSwitchFrom (int mode)
Protected Member Functions inherited from KexiViewBase
virtual void closeEvent (TQCloseEvent *e)
virtual KoProperty::Set * propertySet ()
void propertySetReloaded (bool preservePrevSelection=false, const TQCString &propertyToSelect=TQCString())
bool loadDataBlock (TQString &dataString, const TQString &dataID=TQString(), bool canBeEmpty=false)
bool storeDataBlock (const TQString &dataString, const TQString &dataID=TQString())
bool removeDataBlock (const TQString &dataID=TQString())
void setViewWidget (TQWidget *w, bool focusProxy=false)
virtual void updateActions (bool activated)
virtual void setFocusInternal ()
virtual void parentDialogDetached ()
virtual void parentDialogAttached ()
Protected Member Functions inherited from KexiActionProxy
void plugSharedAction (const char *action_name, TQObject *receiver, const char *slot)
void unplugSharedAction (const char *action_name)
void plugSharedAction (const char *action_name, const char *slot)
int plugSharedAction (const char *action_name, TQWidget *w)
void plugSharedActionToExternalGUI (const char *action_name, KXMLGUIClient *client)
void plugSharedActionsToExternalGUI (const TQValueList< TQCString > &action_names, KXMLGUIClient *client)
void unplugSharedAction (const char *action_name, TQWidget *w)
TDEAction * plugSharedAction (const char *action_name, const TQString &alternativeText, TQWidget *w)
TQObject * receiver () const
void addActionProxyChild (KexiActionProxy *child)
void takeActionProxyChild (KexiActionProxy *child)
Protected Attributes inherited from KexiViewBase
TQString m_defaultIconName
KexiMainWindow * m_mainWin
KexiDialogBase * m_dialog
TQWidget * m_viewWidget
KexiViewBase * m_parentView
TQGuardedPtr< TQWidget > m_lastFocusedChildBeforeFocusOut
Protected Attributes inherited from KexiActionProxy
KexiSharedActionHost * m_host
TQGuardedPtr< TQObject > m_receiver
TQAsciiDict< TQPair< TQSignal *, bool > > m_signals
TQPtrList< KexiActionProxy > m_sharedActionChildren
TQPtrList< TDEAction > m_alternativeActions
KexiActionProxy * m_actionProxyParent
TQObject m_signal_parent
TDEAction_setEnabled_Helper * m_TDEAction_setEnabled_helper

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.

Constructor & Destructor Documentation

◆ KexiMacroTextView()

KexiMacroTextView::KexiMacroTextView ( KexiMainWindow * mainwin,
TQWidget * parent,
::KoMacro::Macro *const macro )

Constructor.

Parameters
mainwinThe KexiMainWindow instance this KexiViewBase belongs to.
parentThe parent widget this widget should be displayed in.
macroThe KoMacro::Macro instance this view is for.

Definition at line 44 of file keximacrotextview.cpp.

◆ ~KexiMacroTextView()

KexiMacroTextView::~KexiMacroTextView ( )
virtual

Destructor.

Definition at line 57 of file keximacrotextview.cpp.

Member Function Documentation

◆ loadData()

bool KexiMacroTextView::loadData ( )
virtual

Load the data and display it in the editor.

Reimplemented from KexiMacroView.

Definition at line 67 of file keximacrotextview.cpp.

◆ storeData()

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.


The documentation for this class was generated from the following files: