X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fabstractmessageprocessor.h;h=f85c93d23b60d65eec23484af669e6d6bdf30ea7;hb=d46e1e86c9869996285ac3f88970cf0e9e23e128;hp=a1b34668e1cb1563e77be4e9f7bbb1cc53da038b;hpb=6eefdfc697067d184a589fc8a231b16316c09106;p=quassel.git diff --git a/src/client/abstractmessageprocessor.h b/src/client/abstractmessageprocessor.h index a1b34668..f85c93d2 100644 --- a/src/client/abstractmessageprocessor.h +++ b/src/client/abstractmessageprocessor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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 * @@ -31,17 +31,17 @@ class CLIENT_EXPORT AbstractMessageProcessor : public QObject Q_OBJECT public: - AbstractMessageProcessor(QObject *parent); + AbstractMessageProcessor(QObject* parent); virtual void reset() = 0; public slots: - virtual void process(Message &msg) = 0; - virtual void process(QList &msgs) = 0; + virtual void process(Message& msg) = 0; + virtual void process(QList& msgs) = 0; virtual void networkRemoved(NetworkId id) = 0; protected: // updateBufferActivity also sets the Message::Redirected flag which is later used // to determine where a message should be displayed. therefore it's crucial that it // is called before inserting the message into the model - inline void preProcess(Message &msg) { Client::networkModel()->updateBufferActivity(msg); } + inline void preProcess(Message& msg) { Client::networkModel()->updateBufferActivity(msg); } };