X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.h;h=43e6754c2da3d140e97e75e5464ce335a5424c37;hp=1d255d8e13beb977667aa06090df96f5aa591aca;hb=e56629542168c203cac8504085fc96c7f7b73d90;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/core/coresessioneventprocessor.h b/src/core/coresessioneventprocessor.h index 1d255d8e..43e6754c 100644 --- a/src/core/coresessioneventprocessor.h +++ b/src/core/coresessioneventprocessor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -31,6 +31,10 @@ class IrcEvent; class IrcEventNumeric; class Netsplit; +#ifdef HAVE_QCA2 +class KeyEvent; +#endif + class CoreSessionEventProcessor : public BasicHandler { Q_OBJECT @@ -55,8 +59,11 @@ public: Q_INVOKABLE void processIrcEventQuit(IrcEvent *event); Q_INVOKABLE void lateProcessIrcEventQuit(IrcEvent *event); Q_INVOKABLE void processIrcEventTopic(IrcEvent *event); +#ifdef HAVE_QCA2 + Q_INVOKABLE void processKeyEvent(KeyEvent *event); +#endif - Q_INVOKABLE void processIrcEvent001(IrcEvent *event); // RPL_WELCOME + Q_INVOKABLE void processIrcEvent001(IrcEventNumeric *event); // RPL_WELCOME Q_INVOKABLE void processIrcEvent005(IrcEvent *event); // RPL_ISUPPORT Q_INVOKABLE void processIrcEvent221(IrcEvent *event); // RPL_UMODEIS Q_INVOKABLE void processIrcEvent250(IrcEvent *event); // RPL_STATSCONN @@ -90,6 +97,7 @@ public: Q_INVOKABLE void handleCtcpAction(CtcpEvent *event); Q_INVOKABLE void handleCtcpClientinfo(CtcpEvent *event); + Q_INVOKABLE void handleCtcpDcc(CtcpEvent *event); Q_INVOKABLE void handleCtcpPing(CtcpEvent *event); Q_INVOKABLE void handleCtcpTime(CtcpEvent *event); Q_INVOKABLE void handleCtcpVersion(CtcpEvent *event);