ShellScript Class Reference
Inheritance diagram for ShellScript:

Detailed Description
Definition at line 27 of file shellscript.h.
Public Member Functions | |
ShellScript (KScriptClientInterface *parent, const char *name, const QStringList &args) | |
virtual | ~ShellScript () |
QString | script () const |
void | setScript (const QString &scriptFile) |
void | setScript (const QString &scriptLibFile, const QString &method) |
void | run (QObject *context=0, const QVariant &arg=0) |
void | kill () |
Member Function Documentation
QString ShellScript::script | ( | ) | const [virtual] |
Return the current script code data.
- Returns:
- QString containing the currenly runable code
Implements KScriptInterface.
Definition at line 45 of file shellscript.cpp.
void ShellScript::setScript | ( | const QString & | scriptFile | ) | [virtual] |
Sets the path to the script library that we are going to embed.
Implements KScriptInterface.
Definition at line 50 of file shellscript.cpp.
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.
Implements KScriptInterface.
Definition at line 56 of file shellscript.cpp.
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.
Implements KScriptInterface.
Definition at line 61 of file shellscript.cpp.
void ShellScript::kill | ( | ) | [virtual] |
The documentation for this class was generated from the following files: