kexi
KexiMacroPart Class Reference
#include <keximacropart.h>
Inheritance diagram for KexiMacroPart:

Detailed Description
Kexi Macro Plugin.Definition at line 30 of file keximacropart.h.
Public Member Functions | |
KexiMacroPart (QObject *parent, const char *name, const QStringList &args) | |
virtual | ~KexiMacroPart () |
virtual bool | execute (KexiPart::Item *item, QObject *sender=0) |
virtual QString | i18nMessage (const QCString &englishMessage) const |
Protected Member Functions | |
virtual KexiViewBase * | createView (QWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DesignViewMode, QMap< QString, QString > *staticObjectArgs=0) |
virtual void | initPartActions () |
virtual void | initInstanceActions () |
Constructor & Destructor Documentation
KexiMacroPart::KexiMacroPart | ( | QObject * | parent, | |
const char * | name, | |||
const QStringList & | args | |||
) |
Constructor.
- Parameters:
-
parent The parent QObject this part is child of. name The name this part has. args Optional list of arguments passed to this part.
Definition at line 57 of file keximacropart.cpp.
KexiMacroPart::~KexiMacroPart | ( | ) | [virtual] |
Member Function Documentation
bool KexiMacroPart::execute | ( | KexiPart::Item * | item, | |
QObject * | sender = 0 | |||
) | [virtual] |
Implementation of the KexiPart::Part::action method used to provide scripts as KAction's to the outside world.
Reimplemented from KexiPart::Part.
Definition at line 86 of file keximacropart.cpp.
QString KexiMacroPart::i18nMessage | ( | const QCString & | englishMessage | ) | const [virtual] |
- Returns:
- the i18n message for the passed
englishMessage
string.
Definition at line 159 of file keximacropart.cpp.
KexiViewBase * KexiMacroPart::createView | ( | QWidget * | parent, | |
KexiDialogBase * | dialog, | |||
KexiPart::Item & | item, | |||
int | viewMode = Kexi::DesignViewMode , |
|||
QMap< QString, QString > * | staticObjectArgs = 0 | |||
) | [protected, virtual] |
Create a new view.
- Parameters:
-
parent The parent QWidget the new view is displayed in. dialog The KexiDialogBase the view is child of. item The KexiPart::Item this view is for. viewMode The viewmode we like to have a view for.
Implements KexiPart::Part.
Definition at line 126 of file keximacropart.cpp.
void KexiMacroPart::initPartActions | ( | ) | [protected, virtual] |
Initialize the part's actions.
Reimplemented from KexiPart::Part.
Definition at line 108 of file keximacropart.cpp.
void KexiMacroPart::initInstanceActions | ( | ) | [protected, virtual] |
Initialize the instance actions.
Reimplemented from KexiPart::Part.
Definition at line 120 of file keximacropart.cpp.
The documentation for this class was generated from the following files: