]> git.sven.stormbind.net Git - sven/vym.git/blob - vymprocess.h
3011dd90a58e8cd085ed64eb5c29b2ec548f2830
[sven/vym.git] / vymprocess.h
1 #ifndef VYMPROCESS_H
2 #define VYMPROCESS_H
3
4 #include <QProcess>
5 #include <QString>
6
7 class VymProcess:public QProcess
8 {
9     Q_OBJECT
10 public:
11     VymProcess ();
12     ~VymProcess ();
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