diff options
| author | 2016-04-29 23:57:30 +0100 | |
|---|---|---|
| committer | 2016-04-29 23:57:48 +0100 | |
| commit | 690dd7a33ddc90678367d73adf313533536e10f2 (patch) | |
| tree | 2276fe7c384ebbc222b40a19c536d5c3c5606ce8 /src/modules/objects/KvsObject_process.h | |
| parent | Add config for clang-format. (diff) | |
| download | KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.gz KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.bz2 KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.zip | |
Apply clang-format
Diffstat (limited to 'src/modules/objects/KvsObject_process.h')
| -rw-r--r-- | src/modules/objects/KvsObject_process.h | 37 |
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_ |
