|
|
This class is the base for all script engines.
QString script ()
| script |
[const pure virtual]
Return the current script code data
Returns: QString containing the currenly runable code
void setScript ( const QString &scriptFile )
| setScript |
[pure virtual]
Sets the path to the script library that we are going to embed.
void setScript ( const QString &scriptLibFile, const QString &method )
| setScript |
[pure virtual]
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.
void run (QObject *context = 0, const QVariant &arg = 0)
| run |
[pure virtual]
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.
void kill ()
| kill |
[pure virtual]
Abort the scripts run
KScriptClientInterface * ScriptClientInterface | ScriptClientInterface |