QXmppMessageHandler Class

Header: #include <QXmppMessageHandler.h>
Since: QXmpp 1.5
Inherits: QXmppExtension
Status: Deprecated

This class is deprecated. We strongly advise against using it in new code.

Public Functions

virtual bool handleMessage(const QXmppMessage &message) = 0

Detailed Description

Interface for handling messages.

since QXmpp 1.18, add a handler to the QXmpp::Messages::Received hook instead. Implementations are still called, after the handlers of the hook, but not for messages of archive queries.

Member Function Documentation

[pure virtual] bool QXmppMessageHandler::handleMessage(const QXmppMessage &message)

Handles message.

Returns whether the message has been handled and no other extensions should process it.