X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fexecwrapper.h;h=4c0dea0808440ba22bbf7edf70484f799af7a951;hb=d46e1e86c9869996285ac3f88970cf0e9e23e128;hp=648a72c1e9d3a7b09f6db953c752b7f5ea70581f;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/client/execwrapper.h b/src/client/execwrapper.h index 648a72c1..4c0dea08 100644 --- a/src/client/execwrapper.h +++ b/src/client/execwrapper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2019 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