-rw-r--r-- | microkde/kprocess.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/microkde/kprocess.h b/microkde/kprocess.h new file mode 100644 index 0000000..dffe96d --- a/dev/null +++ b/microkde/kprocess.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef MINIKDE_KPROCESS_H | ||
2 | #define MINIKDE_KPROCESS_H | ||
3 | |||
4 | #include <qobject.h> | ||
5 | //#include <qpe/qprocess.h> | ||
6 | |||
7 | class KProcess : public QObject | ||
8 | { | ||
9 | public: | ||
10 | enum RunMode { DontCare, NotifyOnExit, Block }; | ||
11 | |||
12 | void clearArguments(); | ||
13 | |||
14 | KProcess & operator<<( const QString & ); | ||
15 | |||
16 | bool start( RunMode mode = DontCare ); | ||
17 | |||
18 | private: | ||
19 | // QProcess mProcess; | ||
20 | }; | ||
21 | |||
22 | #endif | ||