#include <helperprocess.h>
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) |
Definition at line 47 of file helperprocess.h.
HelperProcess::HelperProcess | ( | QObject * | parent = 0 |
) |
Default constructor
Definition at line 47 of file helperprocess.cpp.
References tc::error(), and onError().
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::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().
void HelperProcess::startFailed | ( | const QString & | errorMessage | ) | [signal] |