process.h
author insilmaril
Tue, 10 Mar 2009 11:27:17 +0000
branchrelease-1-12-maintained
changeset 59 1c550f80c43b
parent 0 7a96bd401351
child 2 608f976aa7bb
permissions -rw-r--r--
Bugfix: Serious bug related to autosave fixed.
     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