|
QGIS API Documentation
2.4.0-Chugiak
|
A class that executes an external program/script. More...
#include <qgsrunprocess.h>


Public Slots | |
| void | stdoutAvailable () |
| void | stderrAvailable () |
| void | processError (QProcess::ProcessError) |
| void | processExit (int, QProcess::ExitStatus) |
| void | dialogGone () |
Static Public Member Functions | |
| static QgsRunProcess * | create (const QString &action, bool capture) |
Private Member Functions | |
| QgsRunProcess (const QString &action, bool capture) | |
| ~QgsRunProcess () | |
| void | die () |
Private Attributes | |
| QProcess * | mProcess |
| QgsMessageOutput * | mOutput |
| QString | mCommand |
A class that executes an external program/script.
It can optionally capture the standard output and error from the process and displays them in a dialog box.
Definition at line 34 of file qgsrunprocess.h.
|
private |
Definition at line 28 of file qgsrunprocess.cpp.
References QgsMessageOutput::createMessageOutput(), dialogGone(), die(), mCommand, QgsMessageOutput::MessageHtml, mOutput, mProcess, processError(), processExit(), QgsDebugMsg, QgsMessageOutput::setMessage(), QgsMessageOutput::setTitle(), QgsMessageOutput::showMessage(), stderrAvailable(), stdoutAvailable(), and tr.
|
private |
Definition at line 80 of file qgsrunprocess.cpp.
References mProcess.
|
inlinestatic |
Definition at line 46 of file qgsrunprocess.h.
Referenced by QgsAttributeAction::runAction().
|
slot |
Definition at line 127 of file qgsrunprocess.cpp.
References die(), mOutput, mProcess, processError(), processExit(), stderrAvailable(), and stdoutAvailable().
Referenced by QgsRunProcess().
|
private |
Definition at line 85 of file qgsrunprocess.cpp.
Referenced by dialogGone(), processError(), processExit(), and QgsRunProcess().
|
slot |
Definition at line 146 of file qgsrunprocess.cpp.
References QgsMessageOutput::createMessageOutput(), die(), mCommand, QgsMessageOutput::MessageText, mOutput, QgsDebugMsg, QgsMessageOutput::setMessage(), and tr.
Referenced by dialogGone(), and QgsRunProcess().
|
slot |
Definition at line 107 of file qgsrunprocess.cpp.
References QgsMessageOutput::appendMessage(), die(), mOutput, and tr.
Referenced by dialogGone(), and QgsRunProcess().
|
slot |
Definition at line 99 of file qgsrunprocess.cpp.
References QgsMessageOutput::appendMessage(), mOutput, and mProcess.
Referenced by dialogGone(), and QgsRunProcess().
|
slot |
Definition at line 91 of file qgsrunprocess.cpp.
References QgsMessageOutput::appendMessage(), mOutput, and mProcess.
Referenced by dialogGone(), and QgsRunProcess().
|
private |
Definition at line 65 of file qgsrunprocess.h.
Referenced by processError(), and QgsRunProcess().
|
private |
Definition at line 64 of file qgsrunprocess.h.
Referenced by dialogGone(), processError(), processExit(), QgsRunProcess(), stderrAvailable(), and stdoutAvailable().
|
private |
Definition at line 63 of file qgsrunprocess.h.
Referenced by dialogGone(), QgsRunProcess(), stderrAvailable(), stdoutAvailable(), and ~QgsRunProcess().
1.8.7