Kexi API Documentation (2.0 alpha)

KexiMacro::KexiAction Class Reference

#include <kexiaction.h>

Inheritance diagram for KexiMacro::KexiAction:

KoMacro::Action KShared KexiMacro::DataTableAction KexiMacro::ExecuteAction KexiMacro::MessageAction KexiMacro::NavigateAction KexiMacro::OpenAction List of all members.

Detailed Description

Template class to offer common functionality needed by all KoMacro::Action implementations Kexi provides.

All the actions Kexi provides are inherited from this template class.

Definition at line 43 of file kexiaction.h.

Public Member Functions

 KexiAction (const QString &name, const QString &text)
 Constructor.
virtual ~KexiAction ()
 Destructor.
KexiMainWindowmainWin () const


Constructor & Destructor Documentation

KexiAction::KexiAction const QString name,
const QString text
 

Constructor.

Parameters:
name The unique name the KoMacro::Action has. This name will be used to identify the action.
text The i18n-caption text used for display purposes.

Definition at line 28 of file kexiaction.cpp.

References KoMacro::Manager::self(), and KoMacro::Action::setText().

KexiAction::~KexiAction  )  [virtual]
 

Destructor.

Definition at line 41 of file kexiaction.cpp.


Member Function Documentation

KexiMainWindow * KexiAction::mainWin  )  const
 

Returns:
the KexiMainWindow instance we are running in.

Definition at line 45 of file kexiaction.cpp.

Referenced by KexiMacro::OpenAction::activate(), KexiMacro::NavigateAction::activate(), KexiMacro::MessageAction::activate(), KexiMacro::ExecuteAction::activate(), and KexiMacro::DataTableAction::activate().


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