aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/KvsObject_process.h')
-rw-r--r--src/modules/objects/KvsObject_process.h37
1 files changed, 17 insertions, 20 deletions
diff --git a/src/modules/objects/KvsObject_process.h b/src/modules/objects/KvsObject_process.h
index 0124c6e4c..86451c2a8 100644
--- a/src/modules/objects/KvsObject_process.h
+++ b/src/modules/objects/KvsObject_process.h
@@ -25,15 +25,12 @@
//
//=============================================================================
-
#include <QTimer>
#include "KvsObject_widget.h"
-
#include "object_macros.h"
#include "QProcess"
-
class KvsObject_process : public KviKvsObject
{
Q_OBJECT
@@ -41,29 +38,29 @@ public:
KVSO_DECLARE_OBJECT(KvsObject_process)
protected:
QProcess * m_pProcess;
+
private:
- QStringList m_szArgs;
-public:
+ QStringList m_szArgs;
- bool addArgument(KviKvsObjectFunctionCall *c);
- bool startProcess(KviKvsObjectFunctionCall *c);
- bool readStdout(KviKvsObjectFunctionCall *c);
- bool readStderr(KviKvsObjectFunctionCall *c);
- bool writeToStdin(KviKvsObjectFunctionCall *c);
- bool closekill(KviKvsObjectFunctionCall *c);
- bool closeStdin(KviKvsObjectFunctionCall *c);
- bool kill(KviKvsObjectFunctionCall *c);
- bool tryTerminate(KviKvsObjectFunctionCall *c);
- bool normalExit(KviKvsObjectFunctionCall *c);
- bool isRunning(KviKvsObjectFunctionCall *c);
+public:
+ bool addArgument(KviKvsObjectFunctionCall * c);
+ bool startProcess(KviKvsObjectFunctionCall * c);
+ bool readStdout(KviKvsObjectFunctionCall * c);
+ bool readStderr(KviKvsObjectFunctionCall * c);
+ bool writeToStdin(KviKvsObjectFunctionCall * c);
+ bool closekill(KviKvsObjectFunctionCall * c);
+ bool closeStdin(KviKvsObjectFunctionCall * c);
+ bool kill(KviKvsObjectFunctionCall * c);
+ bool tryTerminate(KviKvsObjectFunctionCall * c);
+ bool normalExit(KviKvsObjectFunctionCall * c);
+ bool isRunning(KviKvsObjectFunctionCall * c);
- bool readyReadStdoutEvent(KviKvsObjectFunctionCall *c);
- bool readyReadStderrEvent(KviKvsObjectFunctionCall *c);
+ bool readyReadStdoutEvent(KviKvsObjectFunctionCall * c);
+ bool readyReadStderrEvent(KviKvsObjectFunctionCall * c);
protected slots:
void slotReadStdout();
void slotReadStderr();
};
-
-#endif // !_CLASS_PROCESS_H_
+#endif // !_CLASS_PROCESS_H_