scriptguiclient.h
KXMLGUIClient()
TDEAction * action(const char *name) const
A collection to store ScriptAction shared pointers.
Definition scriptaction.h:194
A ScriptAction extends a TDEAction by providing a wrapper around a ScriptContainer to execute scripti...
Definition scriptaction.h:42
TDESharedPtr< ScriptAction > Ptr
The name of the interpreter used to execute the scripting code.
Definition scriptaction.h:61
void executionFinished(const Kross::Api::ScriptAction *)
This signal is emited when the execution of a script is finished.
virtual void setDOMDocument(const TQDomDocument &document, bool merge=false)
KXMLGUIClient overloaded method to set the XML DOM-document.
Definition scriptguiclient.cpp:268
bool removeActionCollection(const TQString &name)
Remove the ScriptActionCollection defined with name name.
Definition scriptguiclient.cpp:124
bool executeScriptFile()
A KFileDialog will be displayed to let the user choose the scriptfile that should be executed.
Definition scriptguiclient.cpp:346
bool loadScriptConfigFile(const TQString &scriptconfigfile)
Load the scriptpackage's configurationfile scriptconfigfile and add the defined ScriptAction instance...
Definition scriptguiclient.cpp:198
bool uninstallScriptPackage(const TQString &scriptpackagepath)
Uninstall the scriptpackage located in the path scriptpackagepath .
Definition scriptguiclient.cpp:188
KURL openScriptFile(const TQString &caption=TQString())
A KFileDialog will be displayed to let the user choose a scriptfile.
Definition scriptguiclient.cpp:304
ScriptActionCollection * getActionCollection(const TQString &name)
Definition scriptguiclient.cpp:108
void reloadInstalledScripts()
Reload the list of installed scripts.
Definition scriptguiclient.cpp:135
bool loadScriptConfigDocument(const TQString &scriptconfigfile, const TQDomDocument &document)
Load the document DOM-document from the scriptpackage's XML-configfile scriptconfigfile and add the d...
Definition scriptguiclient.cpp:218
bool hasActionCollection(const TQString &name)
Definition scriptguiclient.cpp:103
void collectionChanged(ScriptActionCollection *)
Emitted if a ScriptActionCollection instances changed.
void showScriptManager()
The ScriptManagerGUI dialog will be displayed to let the user manage the scriptfiles.
Definition scriptguiclient.cpp:375
TQMap< TQString, ScriptActionCollection * > getActionCollections()
Definition scriptguiclient.cpp:113
bool installScriptPackage(const TQString &scriptpackagefile)
Install the packagefile scriptpackagefile .
Definition scriptguiclient.cpp:148
void addActionCollection(const TQString &name, ScriptActionCollection *collection)
Add a new ScriptActionCollection with the name name to our map of actioncollections.
Definition scriptguiclient.cpp:118
bool loadScriptFile()
A KFileDialog will be displayed to let the user choose a scriptfile that should be loaded.
Definition scriptguiclient.cpp:325
ScriptGUIClient(KXMLGUIClient *guiclient, TQWidget *parent=0)
Constructor.
Definition scriptguiclient.cpp:66
bool executeScriptAction(ScriptAction::Ptr action)
This method executes the ScriptAction action .
Definition scriptguiclient.cpp:362
void executionStarted(const Kross::Api::ScriptAction *)
This signal is emited when the execution of a script is started.
virtual void setXMLFile(const TQString &file, bool merge=false, bool setXMLDoc=true)
KXMLGUIClient overloaded method to set the XML file.
Definition scriptguiclient.cpp:263
The Kross scripting bridge to embed scripting functionality into an application.
Definition callable.h:33
