process.h
author insilmaril
Fri Nov 09 12:07:20 2007 +0000 (2007-11-09)
changeset 623 7ba1c04d96d5
parent 408 c2a05fa925a1
child 825 1ad892c1a709
permissions -rw-r--r--
1.11.3 Better windows support
     1 #ifndef PROCESS_H
     2 #define PROCESS_H
     3 
     4 #include <QProcess>
     5 #include <QString>
     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 	QString getErrout();
    18 	QString getStdout();
    19 	
    20 
    21 public slots:
    22 	virtual void readProcErrout();
    23 	virtual void readProcStdout();
    24 
    25 private:
    26 	QString errOut;
    27 	QString stdOut;
    28 };
    29 
    30 #endif