X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fabstractmessageprocessor.cpp;h=b5fe95442349c936ce32cd3dfb14e316d13dc5b5;hp=5ba8683f7fce8d7e1749090a1b2e1cb483f55333;hb=1fc8eb59a87c005ddfe7d21bc225bef8692b9743;hpb=efa00e5a912c34c37bcc6dad7b8bc6e3a6f3e4fb diff --git a/src/client/abstractmessageprocessor.cpp b/src/client/abstractmessageprocessor.cpp index 5ba8683f..b5fe9544 100644 --- a/src/client/abstractmessageprocessor.cpp +++ b/src/client/abstractmessageprocessor.cpp @@ -1,41 +1,28 @@ /*************************************************************************** -* Copyright (C) 2005-08 by the Quassel Project * -* devel@quassel-irc.org * -* * -* This program is free software; you can redistribute it and/or modify * -* it under the terms of the GNU General Public License as published by * -* the Free Software Foundation; either version 2 of the License, or * -* (at your option) version 3. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU General Public License for more details. * -* * -* You should have received a copy of the GNU General Public License * -* along with this program; if not, write to the * -* Free Software Foundation, Inc., * -* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * -***************************************************************************/ + * Copyright (C) 2005-2013 by the Quassel Project * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ #include "abstractmessageprocessor.h" #include "client.h" -AbstractMessageProcessor::AbstractMessageProcessor(QObject *parent) : QObject(parent) { - - - -} - -void AbstractMessageProcessor::process(Message &msg) { - processMessage(msg); - Client::buffer(msg.bufferInfo())->updateActivityLevel(msg); -} - -void AbstractMessageProcessor::process(QList &msgs) { - processMessages(msgs); - foreach(Message msg, msgs) { - Client::buffer(msg.bufferInfo())->updateActivityLevel(msg); - } +AbstractMessageProcessor::AbstractMessageProcessor(QObject *parent) + : QObject(parent) +{ }