Kexi API Documentation (2.0 alpha)

KexiMacro::OpenAction Class Reference

#include <openaction.h>

Inheritance diagram for KexiMacro::OpenAction:

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

Detailed Description

The OpenAction class implements a KoMacro::Action to provide functionality to open any kind of Kexi object (e.g.

table, query, form, script, ...).

Definition at line 39 of file openaction.h.

Public Slots

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

Public Member Functions

 OpenAction ()
 Constructor.
virtual ~OpenAction ()
 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

OpenAction::OpenAction  ) 
 

Constructor.

Definition at line 79 of file openaction.cpp.

References KoMacro::Action::setVariable().

OpenAction::~OpenAction  )  [virtual]
 

Destructor.

Definition at line 91 of file openaction.cpp.


Member Function Documentation

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

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

Definition at line 119 of file openaction.cpp.

References KexiMacro::DATAVIEW, Kexi::DataViewMode, KexiMacro::DESIGNVIEW, Kexi::DesignViewMode, KexiMacro::KexiAction::mainWin(), KexiMacro::NAME, KoMacro::Action::name(), KexiMacro::OBJECT, KexiMacro::TEXTVIEW, Kexi::TextViewMode, and KexiMacro::VIEW.

bool OpenAction::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 95 of file openaction.cpp.

References KexiMacro::NAME, KexiMacro::OBJECT, KoMacro::Action::variable(), and KexiMacro::VIEW.


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