#include <keximacropart.h>
Public Member Functions | |
| KexiMacroPart (TQObject *parent, const char *name, const TQStringList &args) | |
| virtual | ~KexiMacroPart () |
| 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 Macro Plugin.
Definition at line 30 of file keximacropart.h.
Constructor & Destructor Documentation
◆ KexiMacroPart()
| KexiMacroPart::KexiMacroPart | ( | 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 57 of file keximacropart.cpp.
◆ ~KexiMacroPart()
|
virtual |
Destructor.
Definition at line 80 of file keximacropart.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 126 of file keximacropart.cpp.
◆ execute()
|
virtual |
Implementation of the KexiPart::Part::action method used to provide scripts as TDEAction's to the outside world.
Reimplemented from KexiPart::Part.
Definition at line 86 of file keximacropart.cpp.
◆ i18nMessage()
|
virtual |
- Returns
- the i18n message for the passed
englishMessagestring.
Definition at line 159 of file keximacropart.cpp.
◆ initInstanceActions()
|
protectedvirtual |
Initialize the instance actions.
Reimplemented from KexiPart::Part.
Definition at line 120 of file keximacropart.cpp.
◆ initPartActions()
|
protectedvirtual |
Initialize the part's actions.
Reimplemented from KexiPart::Part.
Definition at line 108 of file keximacropart.cpp.
The documentation for this class was generated from the following files:
