modernize: Reformat ALL the source... again!
[quassel.git] / src / client / execwrapper.h
index 9189516..5f3fcce 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2013 by the Quassel Project                        *
+ *   Copyright (C) 2005-2018 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -30,14 +30,14 @@ class ExecWrapper : public QObject
     Q_OBJECT
 
 public:
-    ExecWrapper(QObject *parent = 0);
+    ExecWrapper(QObject* parent = nullptr);
 
 public slots:
-    void start(const BufferInfo &info, const QString &command);
+    void start(const BufferInfo& info, const QString& command);
 
 signals:
-    void error(const QString &errorMsg);
-    void output(const QString &out);
+    void error(const QStringerrorMsg);
+    void output(const QStringout);
 
 private slots:
     void processReadStdout();
@@ -45,8 +45,8 @@ private slots:
     void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
     void processError(QProcess::ProcessError);
 
-    void postStdout(const QString &);
-    void postStderr(const QString &);
+    void postStdout(const QString&);
+    void postStderr(const QString&);
 
 private:
     QProcess _process;
@@ -56,5 +56,4 @@ private:
     QString _stderrBuffer;
 };
 
-
 #endif