QXmpp: QXmppMessageReceiptManager Class Reference

QXmpp Version: 1.14.4

Loading...
Searching...
No Matches
QXmppMessageReceiptManager Class Reference
Managers

The QXmppMessageReceiptManager class makes it possible to send and receive message delivery receipts as defined in XEP-0184: Message Delivery Receipts. More...

`#include <QXmppMessageReceiptManager.h>`

Inheritance diagram for QXmppMessageReceiptManager:

## Public Member Functions
| QXmppMessageReceiptManager ()
Q_SIGNAL void | messageDelivered (const QString &jid, const QString &id)
Public Member Functions inherited from QXmppClientExtension
| QXmppClientExtension ()
virtual QStringList | discoveryFeatures () const
virtual QList< QXmppDiscoIdentity > | discoveryIdentities () const
virtual bool | handleStanza (const QDomElement &stanza)
| You need to implement this method to process incoming XMPP stanzas.
virtual bool | handleStanza (const QDomElement &stanza, const std::optional< QXmppE2eeMetadata > &e2eeMetadata)
| You need to implement this method to process incoming XMPP stanzas.
Public Member Functions inherited from QXmppLoggable
| QXmppLoggable (QObject *parent=nullptr)
Q_SIGNAL void | setGauge (const QString &gauge, double value)
| Sets the given gauge to value.
Q_SIGNAL void | logMessage (QXmppLogger::MessageType type, const QString &msg)
| This signal is emitted to send logging messages.
Q_SIGNAL void | updateCounter (const QString &counter, qint64 amount=1)
| Updates the given counter by amount.
Public Member Functions inherited from QXmppMessageHandler
virtual bool | handleMessage (const QXmppMessage &)=0

## Additional Inherited Members
Protected Member Functions inherited from QXmppClientExtension
QXmppClient * | client () const
virtual void | setClient (QXmppClient *client)
virtual void | onRegistered (QXmppClient *client)
virtual void | onUnregistered (QXmppClient *client)
void | injectIq (const QDomElement &element, const std::optional< QXmppE2eeMetadata > &e2eeMetadata)
bool | injectMessage (QXmppMessage &&message)
Protected Member Functions inherited from QXmppLoggable
void | debug (const QString &message)
| Logs a debugging message.
void | info (const QString &message)
| Logs an informational message.
void | warning (const QString &message)
| Logs a warning message.
void | logReceived (const QString &message)
| Logs a received packet.
void | logSent (const QString &message)
| Logs a sent packet.

## Detailed Description

The QXmppMessageReceiptManager class makes it possible to send and receive message delivery receipts as defined in XEP-0184: Message Delivery Receipts.

## Constructor & Destructor Documentation

## ◆ QXmppMessageReceiptManager()

QXmppMessageReceiptManager::QXmppMessageReceiptManager | ( |  | ) |

Constructs a QXmppMessageReceiptManager to handle incoming and outgoing message delivery receipts.

## Member Function Documentation

## ◆ messageDelivered()

Q_SIGNAL void QXmppMessageReceiptManager::messageDelivered | ( | const QString & | jid,
|  | const QString & | id )

This signal is emitted when receipt for the message with the given id is received. The id could be previously obtained by calling QXmppMessage::id().

The documentation for this class was generated from the following files:

- QXmppMessageReceiptManager.h
- QXmppMessageReceiptManager.cpp