]> git.lyx.org Git - features.git/blobdiff - src/support/SystemcallPrivate.h
CamelCase
[features.git] / src / support / SystemcallPrivate.h
index 6cfb12f081ca0e5188481bfc97f9d976ea66dc8f..0b616dcd3c2dfd7dd91cc6f26d5783f200375a5e 100644 (file)
@@ -30,6 +30,7 @@ class Systemcall;
 class SystemcallPrivate : public QObject
 {
        Q_OBJECT
+
 public:
        SystemcallPrivate(std::string const & outfile);
        ~SystemcallPrivate();
@@ -56,41 +57,41 @@ public:
        
        static void killProcess(QProcess * p);
 
+
+public Q_SLOTS:
+       void stdOut();
+       void stdErr();
+       void processError(QProcess::ProcessError);
+       void processStarted();
+       void processFinished(int, QProcess::ExitStatus status);
+
+
 private:
        /// Pointer to the process to monitor.
-       QProcess * proc_;
+       QProcess * process_;
+
        /// Index to the standard output buffer.
-       size_t outindex_;
+       size_t outIndex_;
        /// Index to the standard error buffer.
-       size_t errindex_;
+       size_t errIndex_;
        ///
-       std::string outfile;
+       std::string outFile_;
+
        /// Size of buffers.
-       static size_t const bufsize_ = 200;
+       static size_t const bufferSize_ = 200;
        /// Standard output buffer.
-       char outdata_[bufsize_];
+       char outData_[bufferSize_];
        /// Standard error buffer.
-       char errdata_[bufsize_];
-       /// 
+       char errData_[bufferSize_];
+
        bool terminalErrExists_;
-       /// 
        bool terminalOutExists_;
-       bool process_events;
-       QString cmd_;
 
+       bool processEvents_;
        void waitAndProcessEvents();
        void processEvents();
-
        void killProcess();
-
-public Q_SLOTS:
-       void stdOut();
-       void stdErr();
-       void processError(QProcess::ProcessError);
-       void processStarted();
-       void processFinished(int, QProcess::ExitStatus status);
-
-Q_SIGNALS:
+       QString cmd_;
 
 };