HelperProcess Class Reference

#include <helperprocess.h>

List of all members.

Signals

void startFailed (const QString &errorMessage)

Public Member Functions

 HelperProcess (QObject *parent=0)
void start (const QString &app, const QStringList &args)
bool isDone () const

Private Slots

void onError (QProcess::ProcessError error)


Detailed Description

Definition at line 47 of file helperprocess.h.


Constructor & Destructor Documentation

HelperProcess::HelperProcess ( QObject *  parent = 0  ) 

Default constructor

Definition at line 47 of file helperprocess.cpp.

References tc::error(), and onError().


Member Function Documentation

void HelperProcess::start ( const QString &  app,
const QStringList &  args 
)

Start the specified application.

Definition at line 57 of file helperprocess.cpp.

Referenced by MainWindow::startProxy(), and MainWindow::startSubprocesses().

bool HelperProcess::isDone (  )  const

Returns true iff process is not running.

Definition at line 75 of file helperprocess.cpp.

Referenced by MainWindow::onSubprocessFinished().

void HelperProcess::onError ( QProcess::ProcessError  error  )  [private, slot]

Invoked when underlying QProcess fails.

Definition at line 65 of file helperprocess.cpp.

References startFailed().

Referenced by HelperProcess().

void HelperProcess::startFailed ( const QString &  errorMessage  )  [signal]

Invoked when start() fails.

Referenced by onError().


The documentation for this class was generated from the following files:

Generated on Sat Aug 16 17:31:49 2008 for Vidalia by  doxygen 1.5.6