initial import
[vym] / process.h
diff --git a/process.h b/process.h
new file mode 100644 (file)
index 0000000..870e8c4
--- /dev/null
+++ b/process.h
@@ -0,0 +1,30 @@
+#ifndef PROCESS_H
+#define PROCESS_H
+
+#include <QProcess>
+#include <QString>
+
+
+using namespace std;
+
+class Process:public QProcess
+{
+       Q_OBJECT
+public:
+    Process ();
+       ~Process ();
+       void clear();
+       QString getErrout();
+       QString getStdout();
+       
+
+public slots:
+       virtual void readProcErrout();
+       virtual void readProcStdout();
+
+private:
+       QString errOut;
+       QString stdOut;
+};
+
+#endif