Loading...
Searching...
No Matches
QXmppMessageReceiptManager.h
// SPDX-FileCopyrightText: 2019 Georg Rudoy <0xd34df00d@gmail.com>
// SPDX-FileCopyrightText: 2012 Jeremy Lainé <jeremy.laine@m4x.org>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPMESSAGERECEIPTMANAGER_H
#define QXMPPMESSAGERECEIPTMANAGER_H
#include "QXmppClientExtension.h"
#include "QXmppMessageHandler.h"
class QXMPP_EXPORT QXmppMessageReceiptManager : public QXmppClientExtension, public QXmppMessageHandler
{
Q_OBJECT
public:
QXmppMessageReceiptManager();
QStringList discoveryFeatures() const override;
bool handleMessage(const QXmppMessage &) override;
Q_SIGNALS:
void messageDelivered(const QString &jid, const QString &id);
};
#endif // QXMPPMESSAGERECEIPTMANAGER_H
QXmppClientExtension
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition QXmppClientExtension.h:32
QXmppClientExtension::discoveryFeatures
virtual QStringList discoveryFeatures() const
Definition QXmppClientExtension.cpp:22
QXmppMessageHandler
Definition QXmppMessageHandler.h:16
QXmppMessageHandler::handleMessage
virtual bool handleMessage(const QXmppMessage &)=0
QXmppMessageReceiptManager
The QXmppMessageReceiptManager class makes it possible to send and receive message delivery receipts ...
Definition QXmppMessageReceiptManager.h:20
QXmppMessageReceiptManager::messageDelivered
void messageDelivered(const QString &jid, const QString &id)
QXmppMessage
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:64