process.h
author insilmaril
Wed, 30 Jul 2008 14:42:03 +0000
branchrelease-1-12-maintained
changeset 43 cf274b28e5fe
parent 0 7a96bd401351
child 2 608f976aa7bb
permissions -rw-r--r--
Fixed animation timer, which didn't stop once activated
     1 #ifndef PROCESS_H
     2 #define PROCESS_H
     3 
     4 #include <qprocess.h>
     5 #include <qstring.h>
     6 
     7 
     8 using namespace std;
     9 
    10 class Process:public QProcess
    11 {
    12 	Q_OBJECT
    13 public:
    14     Process ();
    15 	~Process ();
    16 	void clear();
    17 	void waitFinished();
    18 	QString getErrout();
    19 	QString getStdout();
    20 	
    21 
    22 public slots:
    23 	virtual void readProcErrout();
    24 	virtual void readProcStdout();
    25 
    26 private:
    27 	QString errOut;
    28 	QString stdOut;
    29 };
    30 
    31 #endif