X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.h;h=6854d18b77409304efa462631523f2166910fb45;hb=8544d22f38e453776f01fabfa6083cec00cf6e50;hp=1d255d8e13beb977667aa06090df96f5aa591aca;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222;p=quassel.git diff --git a/src/core/coresessioneventprocessor.h b/src/core/coresessioneventprocessor.h index 1d255d8e..6854d18b 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-2014 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,6 +59,9 @@ 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 processIrcEvent005(IrcEvent *event); // RPL_ISUPPORT