process.h
author insilmaril
Fri, 09 Apr 2010 14:24:04 +0000
changeset 846 f0fe7c36ec5c
parent 825 1ad892c1a709
permissions -rw-r--r--
Version 1.13.3 and added treeeditor.png
     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