QXmpp: QXmppMessageReceiptManager.h Source File

QXmpp Version: 1.14.3

Loading...
Searching...
No Matches
QXmppMessageReceiptManager.h
1// SPDX-FileCopyrightText: 2019 Georg Rudoy <0xd34df00d@gmail.com>
2// SPDX-FileCopyrightText: 2012 Jeremy Lainé <jeremy.laine@m4x.org>
3//
4// SPDX-License-Identifier: LGPL-2.1-or-later
5
6#ifndef QXMPPMESSAGERECEIPTMANAGER_H
7#define QXMPPMESSAGERECEIPTMANAGER_H
8
9#include "QXmppClientExtension.h"
10#include "QXmppMessageHandler.h"
11
19 class QXMPP_EXPORT QXmppMessageReceiptManager : public QXmppClientExtension, public QXmppMessageHandler
20{
21 Q_OBJECT
22public:
23 QXmppMessageReceiptManager();
24
26 QStringList discoveryFeatures() const override;
27 bool handleMessage(const QXmppMessage &) override;
29
33 Q_SIGNAL void messageDelivered(const QString &jid, const QString &id);
34};
35
36#endif // QXMPPMESSAGERECEIPTMANAGER_H
QXmppClientExtension::discoveryFeatures
virtual QStringList discoveryFeatures() const
Definition QXmppClientExtension.cpp:22
QXmppClientExtension::QXmppClientExtension
QXmppClientExtension()
Definition QXmppClientExtension.cpp:12
QXmppMessageHandler
Definition QXmppMessageHandler.h:16
QXmppMessageHandler::handleMessage
virtual bool handleMessage(const QXmppMessage &)=0
QXmppMessage
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:64
QXmppMessageReceiptManager::messageDelivered
Q_SIGNAL void messageDelivered(const QString &jid, const QString &id)
QXmppMessageReceiptManager::QXmppMessageReceiptManager
QXmppMessageReceiptManager()
Definition QXmppMessageReceiptManager.cpp:21