X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fexecwrapper.h;h=5f3fcce7b4e2f5884640e670718948da103d442d;hp=f9564cd092b332e1e1eeb714acdea1e548294e18;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609 diff --git a/src/client/execwrapper.h b/src/client/execwrapper.h index f9564cd0..5f3fcce7 100644 --- a/src/client/execwrapper.h +++ b/src/client/execwrapper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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 QString& errorMsg); + void output(const QString& out); 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