process.h
author convert-repo
Fri, 23 Jul 2010 16:43:49 +0000
changeset 849 988f1908a7c4
parent 825 1ad892c1a709
permissions -rw-r--r--
update tags
     1 #ifndef PROCESS_H
     2 #define PROCESS_H
     3 
     4 #include <QProcess>
     5 #include <QString>
     6 
     7 class Process:public QProcess
     8 {
     9 	Q_OBJECT
    10 public:
    11     Process ();
    12 	~Process ();
    13 	void clear();
    14     void runScript( QString spath, QString fpath );
    15 	QString getErrout();
    16 	QString getStdout();
    17 
    18 public slots:
    19 	virtual void readProcErrout();
    20 	virtual void readProcStdout();
    21 
    22 private:
    23 	QString errOut;
    24 	QString stdOut;
    25 };
    26 
    27 #endif