2017-05-18 16:39:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsrunprocess.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
2009-04-13 12:29:59 +00:00
|
|
|
|
2017-05-18 16:39:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRunProcess: QObject /NoDefaultCtors/
|
2009-04-13 12:29:59 +00:00
|
|
|
{
|
2017-05-18 16:39:21 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
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.
|
2018-10-11 11:01:47 +02:00
|
|
|
|
|
|
|
On some platforms (e.g. iOS) , the process execution is skipped
|
|
|
|
https://lists.qt-project.org/pipermail/development/2015-July/022205.html
|
2009-04-13 12:29:59 +00:00
|
|
|
%End
|
|
|
|
|
2017-05-18 16:39:21 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsrunprocess.h"
|
|
|
|
%End
|
2009-04-13 12:29:59 +00:00
|
|
|
public:
|
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
static QgsRunProcess *create( const QString &action, bool capture ) /Factory/;
|
2009-04-13 12:29:59 +00:00
|
|
|
|
2018-10-11 11:01:47 +02:00
|
|
|
private:
|
|
|
|
QgsRunProcess( const QString &action, bool capture );
|
|
|
|
~QgsRunProcess();
|
2009-04-13 12:29:59 +00:00
|
|
|
public slots:
|
|
|
|
void stdoutAvailable();
|
|
|
|
void stderrAvailable();
|
|
|
|
void processError( QProcess::ProcessError );
|
|
|
|
void processExit( int, QProcess::ExitStatus );
|
|
|
|
void dialogGone();
|
|
|
|
};
|
2017-05-18 16:39:21 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsrunprocess.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|