Kexi API Documentation (2.0 alpha)

KexiMacro::ExecuteAction Class Reference

#include <executeaction.h>

Inheritance diagram for KexiMacro::ExecuteAction:

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

Detailed Description

The ExecuteAction class implements a KoMacro::Action to provide functionality to execute an object like e.g.

a script or a macro.

Definition at line 39 of file executeaction.h.

Public Slots

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

Public Member Functions

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

ExecuteAction::ExecuteAction  ) 
 

Constructor.

Definition at line 39 of file executeaction.cpp.

References KoMacro::Action::setVariable().

ExecuteAction::~ExecuteAction  )  [virtual]
 

Destructor.

Definition at line 49 of file executeaction.cpp.


Member Function Documentation

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

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

Definition at line 73 of file executeaction.cpp.

References KexiPart::Part::execute(), KexiPart::Part::info(), KexiMacro::KexiAction::mainWin(), KoMacro::Action::name(), and Kexi::partManager().

bool ExecuteAction::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 53 of file executeaction.cpp.

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


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