kexi
KexiScriptPart Class Reference
#include <kexiscriptpart.h>
Inheritance diagram for KexiScriptPart:

Detailed Description
Kexi Scripting Plugin.
Definition at line 35 of file kexiscriptpart.h.
Public Member Functions | |
KexiScriptPart (QObject *parent, const char *name, const QStringList &args) | |
virtual | ~KexiScriptPart () |
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
KexiScriptPart::KexiScriptPart | ( | 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 47 of file kexiscriptpart.cpp.
KexiScriptPart::~KexiScriptPart | ( | ) | [virtual] |
Member Function Documentation
bool KexiScriptPart::execute | ( | KexiPart::Item * | item, | |
QObject * | sender = 0 | |||
) | [virtual] |
Implementation of the KexiPart::Part::execute method used to execute the passed item
instance.
Reimplemented from KexiPart::Part.
Definition at line 71 of file kexiscriptpart.cpp.
QString KexiScriptPart::i18nMessage | ( | const QCString & | englishMessage | ) | const [virtual] |
- Returns:
- the i18n message for the passed
englishMessage
string.
Definition at line 190 of file kexiscriptpart.cpp.
KexiViewBase * KexiScriptPart::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 162 of file kexiscriptpart.cpp.
void KexiScriptPart::initPartActions | ( | ) | [protected, virtual] |
Initialize the part's actions.
Reimplemented from KexiPart::Part.
Definition at line 114 of file kexiscriptpart.cpp.
void KexiScriptPart::initInstanceActions | ( | ) | [protected, virtual] |
Initialize the instance actions.
Reimplemented from KexiPart::Part.
Definition at line 156 of file kexiscriptpart.cpp.
The documentation for this class was generated from the following files: