#include <kexiscriptpart.h>
Public Member Functions | |
| KexiScriptPart (TQObject *parent, const char *name, const TQStringList &args) | |
| virtual | ~KexiScriptPart () |
| virtual bool | execute (KexiPart::Item *item, TQObject *sender=0) |
| virtual TQString | i18nMessage (const TQCString &englishMessage) const |
Public Member Functions inherited from KexiPart::Part | |
| Part (TQObject *parent, const char *name, const TQStringList &) | |
| virtual | ~Part () |
| int | supportedViewModes () const |
| int | supportedUserViewModes () const |
| KexiDialogBase * | openInstance (KexiMainWindow *win, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, TQMap< TQString, TQString > *staticObjectArgs=0) |
| virtual bool | remove (KexiMainWindow *win, KexiPart::Item &item) |
| virtual tristate | rename (KexiMainWindow *win, KexiPart::Item &item, const TQString &newName) |
| virtual KexiDialogTempData * | createTempData (KexiDialogBase *dialog) |
| TQCString | instanceName () const |
| TQString | instanceCaption () const |
| Info * | info () const |
| GUIClient * | guiClient () const |
| GUIClient * | instanceGuiClient (int mode=0) const |
| TDEActionCollection * | actionCollectionForMode (int viewMode) const |
| const Kexi::ObjectStatus & | lastOperationStatus () const |
| virtual TQString | i18nMessage (const TQCString &englishMessage, KexiDialogBase *dlg) const |
Protected Member Functions | |
| virtual KexiViewBase * | createView (TQWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DesignViewMode, TQMap< TQString, TQString > *staticObjectArgs=0) |
| virtual void | initPartActions () |
| virtual void | initInstanceActions () |
Protected Member Functions inherited from KexiPart::Part | |
| Part (TQObject *parent, StaticInfo *info) | |
| void | createGUIClients (KexiMainWindow *win) |
| virtual KexiDB::SchemaData * | loadSchemaData (KexiDialogBase *dlg, const KexiDB::SchemaData &sdata, int viewMode) |
| bool | loadDataBlock (KexiDialogBase *dlg, TQString &dataString, const TQString &dataID=TQString()) |
| TDEAction * | createSharedAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0) |
| TDEAction * | createSharedToggleAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name) |
| TDEAction * | createSharedPartAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0) |
| TDEAction * | createSharedPartToggleAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name) |
| void | setActionAvailable (const char *action_name, bool avail) |
| void | setInfo (Info *info) |
| virtual void | setupCustomPropertyPanelTabs (KTabWidget *tab, KexiMainWindow *mainWin) |
Additional Inherited Members | |
Signals inherited from KexiPart::Part | |
| void | newObjectRequest (KexiPart::Info *info) |
Protected Slots inherited from KexiPart::Part | |
| void | slotCreate () |
Protected Attributes inherited from KexiPart::Part | |
| TQMap< TQString, TQString > | m_names |
| int | m_supportedViewModes |
| int | m_supportedUserViewModes |
| Info * | m_info |
| GUIClient * | m_guiClient |
| TQIntDict< GUIClient > | m_instanceGuiClients |
| KexiMainWindow * | m_mainWin |
| Kexi::ObjectStatus | m_status |
| int | m_registeredPartID |
| bool | m_newObjectsAreDirty: 1 |
| PartPrivate * | d |
Detailed Description
Kexi Scripting Plugin.
Definition at line 35 of file kexiscriptpart.h.
Constructor & Destructor Documentation
◆ KexiScriptPart()
| KexiScriptPart::KexiScriptPart | ( | TQObject * | parent, |
| const char * | name, | ||
| const TQStringList & | args | ||
| ) |
Constructor.
- Parameters
-
parent The parent TQObject 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()
|
virtual |
Destructor.
Definition at line 65 of file kexiscriptpart.cpp.
Member Function Documentation
◆ createView()
|
protectedvirtual |
Create a new view.
- Parameters
-
parent The parent TQWidget 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.
◆ execute()
|
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.
◆ i18nMessage()
|
virtual |
- Returns
- the i18n message for the passed
englishMessagestring.
Definition at line 190 of file kexiscriptpart.cpp.
◆ initInstanceActions()
|
protectedvirtual |
Initialize the instance actions.
Reimplemented from KexiPart::Part.
Definition at line 156 of file kexiscriptpart.cpp.
◆ initPartActions()
|
protectedvirtual |
Initialize the part's actions.
Reimplemented from KexiPart::Part.
Definition at line 114 of file kexiscriptpart.cpp.
The documentation for this class was generated from the following files:

Public Member Functions inherited from