author | insilmaril |
Fri Dec 08 20:18:58 2006 +0000 (2006-12-08) | |
changeset 409 | 81ffad43d53f |
parent 2 | 608f976aa7bb |
child 429 | 69a4c16bd85b |
permissions | -rw-r--r-- |
insilmaril@0 | 1 |
#ifndef PROCESS_H |
insilmaril@0 | 2 |
#define PROCESS_H |
insilmaril@0 | 3 |
|
insilmaril@408 | 4 |
#include <QProcess> |
insilmaril@408 | 5 |
#include <QString> |
insilmaril@0 | 6 |
|
insilmaril@0 | 7 |
|
insilmaril@0 | 8 |
using namespace std; |
insilmaril@0 | 9 |
|
insilmaril@408 | 10 |
class Process:public QProcess |
insilmaril@0 | 11 |
{ |
insilmaril@0 | 12 |
Q_OBJECT |
insilmaril@0 | 13 |
public: |
insilmaril@0 | 14 |
Process (); |
insilmaril@0 | 15 |
~Process (); |
insilmaril@0 | 16 |
void clear(); |
insilmaril@0 | 17 |
void waitFinished(); |
insilmaril@0 | 18 |
QString getErrout(); |
insilmaril@0 | 19 |
QString getStdout(); |
insilmaril@0 | 20 |
|
insilmaril@0 | 21 |
|
insilmaril@0 | 22 |
public slots: |
insilmaril@0 | 23 |
virtual void readProcErrout(); |
insilmaril@0 | 24 |
virtual void readProcStdout(); |
insilmaril@0 | 25 |
|
insilmaril@0 | 26 |
private: |
insilmaril@0 | 27 |
QString errOut; |
insilmaril@0 | 28 |
QString stdOut; |
insilmaril@0 | 29 |
}; |
insilmaril@0 | 30 |
|
insilmaril@0 | 31 |
#endif |