Kexi API Documentation (2.0 alpha)

KexiMacro::DataTableAction Class Reference

#include <datatableaction.h>

Inheritance diagram for KexiMacro::DataTableAction:

KexiMacro::KexiAction KoMacro::Action KShared List of all members.

Detailed Description

The DataTableAction class implements a KoMacro::Action to provide functionality to import or export a datatable.

The datatable is used to deal with comma separated values.

Definition at line 37 of file datatableaction.h.

Public Slots

virtual void activate (KSharedPtr< KoMacro::Context > context)
 Called if the Action should be executed within the defined context .

Public Member Functions

 DataTableAction ()
 Constructor.
virtual ~DataTableAction ()
 Destructor.
virtual bool notifyUpdated (KSharedPtr< KoMacro::MacroItem > macroitem, const QString &name)
 This function is called, when the KoMacro::Variable with name name used within the KoMacro::MacroItem macroitem got changed.


Constructor & Destructor Documentation

DataTableAction::DataTableAction  ) 
 

Constructor.

Definition at line 106 of file datatableaction.cpp.

References KoMacro::Action::setVariable().

DataTableAction::~DataTableAction  )  [virtual]
 

Destructor.

Definition at line 114 of file datatableaction.cpp.


Member Function Documentation

void DataTableAction::activate KSharedPtr< KoMacro::Context context  )  [virtual, slot]
 

Called if the Action should be executed within the defined context .

Definition at line 137 of file datatableaction.cpp.

References KexiInternalPart::createModalDialogInstance(), KexiPart::Item::identifier(), KexiPart::Part::info(), KexiMacro::KexiAction::mainWin(), and Kexi::partManager().

bool DataTableAction::notifyUpdated KSharedPtr< KoMacro::MacroItem macroitem,
const QString name
[virtual]
 

This function is called, when the KoMacro::Variable with name name used within the KoMacro::MacroItem macroitem got changed.

Parameters:
macroitem The KoMacro::MacroItem instance where the variable defined with name is located in.
name The name the KoMacro::Variable has.
Returns:
true if the update was successfully else false is returned.

Definition at line 118 of file datatableaction.cpp.


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