From 690dd7a33ddc90678367d73adf313533536e10f2 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 29 Apr 2016 23:57:30 +0100 Subject: Apply clang-format --- src/modules/objects/KvsObject_process.h | 37 +++++++++++++++------------------ 1 file changed, 17 insertions(+), 20 deletions(-) (limited to 'src/modules/objects/KvsObject_process.h') 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 #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_ -- cgit v1.3.1-10-gc9f91