KScriptInterface Class Reference
#include <scriptinterface.h>
Inheritance diagram for KScriptInterface:

Detailed Description
This class is the base for all script engines.
- Author:
- Ian Reinhart Geiser <geiseri@kde.org>
Definition at line 47 of file scriptinterface.h.
Public Member Functions | |
virtual QString | script () const =0 |
virtual void | setScript (const QString &scriptFile)=0 |
virtual void | setScript (const QString &scriptLibFile, const QString &method)=0 |
virtual void | run (QObject *context=0, const QVariant &arg=0)=0 |
virtual void | kill ()=0 |
Public Attributes | |
KScriptClientInterface * | ScriptClientInterface |
Member Function Documentation
|
Abort the scripts run.
Implemented in ShellScript. |
|
Run the actual script code This can both take a context object that will be shared between the main application and a variant that will contain the arguments.
Implemented in ShellScript. |
|
Return the current script code data.
Implemented in ShellScript. |
|
Sets the path to the script library that we are going to embed. The second argument is the function from the script library that we wish to call. Implemented in ShellScript. |
|
Sets the path to the script library that we are going to embed.
Implemented in ShellScript. |
Member Data Documentation
|
This is the method for sending feedback to applications. example of how this works: ScriptClientInterface->error( message_to_send_back_to_the_main_application ); Definition at line 85 of file scriptinterface.h. |
The documentation for this class was generated from the following file: