initial import
[vym] / process.h
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