/***************************************************************************
- * Copyright (C) 2005-2016 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 *
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();
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;
QString _stderrBuffer;
};
-
#endif