keximacropart.cpp
90 KexiMacroView* view = dynamic_cast<KexiMacroView*>( createView(dialog, dialog, *item, Kexi::DataViewMode) );
126KexiViewBase* KexiMacroPart::createView(TQWidget* parent, KexiDialogBase* dialog, KexiPart::Item& item, int viewMode, TQMap<TQString,TQString>*)
170K_EXPORT_COMPONENT_FACTORY( kexihandler_macro, KGenericFactory<KexiMacroPart>("kexihandler_macro") )
Base class for child window of Kexi's main application window.
Definition kexidialogbase.h:79
The KexiScriptDesignView implements KexiMacroView to provide a GUI-Editor to edit a Macro.
Definition keximacrodesignview.h:42
KexiMacroPart(TQObject *parent, const char *name, const TQStringList &args)
Constructor.
Definition keximacropart.cpp:57
virtual bool execute(KexiPart::Item *item, TQObject *sender=0)
Implementation of the KexiPart::Part::action method used to provide scripts as TDEAction's to the out...
Definition keximacropart.cpp:86
virtual KexiViewBase * createView(TQWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DesignViewMode, TQMap< TQString, TQString > *staticObjectArgs=0)
Create a new view.
Definition keximacropart.cpp:126
virtual TQString i18nMessage(const TQCString &englishMessage) const
Definition keximacropart.cpp:159
The KexiMacroTextView implements KexiMacroView to provide a simple texteditor to edit the XML documen...
Definition keximacrotextview.h:33
The KexiMacroView implements KexiViewBase to provide a base KexiView instance for Macros.
Definition keximacroview.h:43
void execute(TQObject *sender=0)
This slot will be invoked if Kexi's menuitem Data=>Execute got activated and will execute the Macro.
Definition keximacroview.cpp:162
virtual bool loadData()
Load the data from XML source and fill the internally used KoMacro::Macro instance.
Definition keximacroview.cpp:97
The DataTableAction class implements a KoMacro::Action to provide functionality to import or export a...
Definition datatableaction.h:38
The ExecuteAction class implements a KoMacro::Action to provide functionality to execute an object li...
Definition executeaction.h:40
The ExecuteObject class implements a KoMacro::Action to provide functionality to execute an object li...
Definition messageaction.h:41
The OpenAction class implements a KoMacro::Action to provide functionality to open any kind of Kexi o...
Definition openaction.h:40
virtual KexiProject * project()=0
Project data of currently opened project or NULL if no project here yet.
Information about a single object that can be instantiated using Kexi Part.
Definition kexipartitem.h:47
Part(TQObject *parent, const char *name, const TQStringList &)
Definition kexipart.cpp:90
TDESharedPtr< Macro > createMacro(const TQString ¯oname)
Factory function to create a new Macro instances.
Definition manager.cpp:126
static void init(KXMLGUIClient *xmlguiclient)
Initialize this Manager singleton.
Definition manager.cpp:65
void addMacro(const TQString ¯oname, TDESharedPtr< Macro > macro)
Add a new Macro to the list of known macros.
Definition manager.cpp:116
TDESharedPtr< Macro > getMacro(const TQString ¯oname)
Definition manager.cpp:111
