kopete/libkopete
#include <kopetesimplemessagehandler.h>
Signals | |
void | handle (Kopete::Message &message) |
Public Member Functions | |
SimpleMessageHandler () | |
~SimpleMessageHandler () | |
void | handleMessage (MessageEvent *event) |
Public Member Functions inherited from Kopete::MessageHandler | |
MessageHandler () | |
virtual | ~MessageHandler ()=0 |
virtual int | capabilities () |
void | handleMessageInternal (MessageEvent *event) |
MessageHandler * | next () |
void | setNext (MessageHandler *next) |
Detailed Description
This class is used to implement SimpleMessageHandlerFactory.
Definition at line 69 of file kopetesimplemessagehandler.h.
Constructor & Destructor Documentation
Kopete::SimpleMessageHandler::SimpleMessageHandler | ( | ) |
Definition at line 77 of file kopetesimplemessagehandler.cpp.
Kopete::SimpleMessageHandler::~SimpleMessageHandler | ( | ) |
Definition at line 82 of file kopetesimplemessagehandler.cpp.
Member Function Documentation
|
signal |
|
virtual |
Performs any processing necessary on the message.
- Parameters
-
event The message event to process. Should not be null.
Overriders of this handler must cause (possibly asynchronously) one of the following to happen:
event->discard()
to be calledevent->continue()
to be called- this base class implementation to be called (equivalent to event->continue() but faster)
The base class implementation passes the event on to the next handler in the chain.
- Note
- If you store
event
, be aware that it could be deleted at any time, and either connect to the discarded(Kopete::MessageEvent*) signal or store it in a QPointer.
Reimplemented from Kopete::MessageHandler.
Definition at line 87 of file kopetesimplemessagehandler.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.