X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fuserinputhandler.h;h=fa0560d49a34074547747c5fcd814f93b229be20;hb=5496fcc7a25b9b47a4fd6e254e1089cef4fa88f2;hp=014a7c539c7e7c54a792561b50a531e37e4a3d83;hpb=902c95728306e5ba115de84800fc8d5d239c9d62;p=quassel.git diff --git a/src/core/userinputhandler.h b/src/core/userinputhandler.h index 014a7c53..fa0560d4 100644 --- a/src/core/userinputhandler.h +++ b/src/core/userinputhandler.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005/06 by The Quassel Team * + * 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) any later version. * + * (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 * @@ -29,18 +29,20 @@ class UserInputHandler : public BasicHandler { Q_OBJECT public: - UserInputHandler(Server *parent = 0); + UserInputHandler(NetworkConnection *parent = 0); void handleUserInput(QString buffer, QString msg); public slots: void handleAway(QString, QString); + void handleBan(QString, QString); void handleDeop(QString, QString); void handleDevoice(QString, QString); void handleInvite(QString, QString); void handleJoin(QString, QString); void handleKick(QString, QString); void handleList(QString, QString); + void handleMe(QString, QString); void handleMode(QString, QString); void handleMsg(QString, QString); void handleNick(QString, QString); @@ -52,10 +54,11 @@ public slots: void handleSay(QString, QString); void handleTopic(QString, QString); void handleVoice(QString, QString); - void handleMe(QString, QString); + void handleWho(QString, QString); + void handleWhois(QString, QString); + void handleWhowas(QString, QString); void defaultHandler(QString cmd, QString buf, QString msg); - };