• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

interfaces

ShellScript Class Reference

#include <shellscript.h>

Inheritance diagram for ShellScript:

Inheritance graph
[legend]

List of all members.


Public Member Functions

void kill ()
void run (QObject *context=0, const QVariant &arg=0)
QString script () const
void setScript (const QString &scriptLibFile, const QString &method)
void setScript (const QString &scriptFile)
 ShellScript (KScriptClientInterface *parent, const char *name, const QStringList &args)
virtual ~ShellScript ()

Detailed Description

Definition at line 27 of file shellscript.h.


Constructor & Destructor Documentation

ShellScript::ShellScript ( KScriptClientInterface *  parent,
const char *  name,
const QStringList &  args 
)

ShellScript::~ShellScript (  )  [virtual]

Definition at line 41 of file shellscript.cpp.


Member Function Documentation

void ShellScript::kill (  )  [virtual]

Abort the scripts run.

Implements KScriptInterface.

Definition at line 65 of file shellscript.cpp.

void ShellScript::run ( QObject *  context = 0,
const QVariant &  arg = 0 
) [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.

Implements KScriptInterface.

Definition at line 61 of file shellscript.cpp.

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 &  scriptLibFile,
const QString &  method 
) [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.

Implements KScriptInterface.

Definition at line 56 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.


The documentation for this class was generated from the following files:
  • shellscript.h
  • shellscript.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal