5#ifndef QXMPPMAMMANAGER_H
6#define QXMPPMAMMANAGER_H
8#include "QXmppClientExtension.h"
10#include "QXmppMamIq.h"
11#include "QXmppResultSet.h"
20class QXmppMamManagerPrivate;
54 QString retrieveArchivedMessages(
const QString &to = QString(),
55 const QString &node = QString(),
56 const QString &jid = QString(),
57 const QDateTime &start = QDateTime(),
58 const QDateTime &end = QDateTime(),
61 const QString &node = QString(),
62 const QString &jid = QString(),
63 const QDateTime &start = QDateTime(),
64 const QDateTime &end = QDateTime(),
83 std::unique_ptr<QXmppMamManagerPrivate> d;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition QXmppClientExtension.h:33
virtual QStringList discoveryFeatures() const
Definition QXmppClientExtension.cpp:22
virtual bool handleStanza(const QDomElement &stanza)
You need to implement this method to process incoming XMPP stanzas.
Definition QXmppClientExtension.cpp:51
The QXmppMamManager class makes it possible to access message archives as defined by XEP-0313: Messag...
Definition QXmppMamManager.h:39
void resultsRecieved(const QString &queryId, const QXmppResultSetReply &resultSetReply, bool complete)
This signal is emitted when all results for a request have been received.
std::variant< RetrievedMessages, QXmppError > RetrieveResult
Definition QXmppMamManager.h:49
void archivedMessageReceived(const QString &queryId, const QXmppMessage &message)
This signal is emitted when an archived message is received.
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:35
The QXmppResultSetQuery class represents a set element in a query as defined by XEP-0059: Result Set ...
Definition QXmppResultSet.h:16
The QXmppResultSetReply class represents a set element in a reply as defined by XEP-0059: Result Set ...
Definition QXmppResultSet.h:50
Definition QXmppTask.h:62
Contains all retrieved messages and the result IQ that can be used for pagination.
Definition QXmppMamManager.h:44
QVector< QXmppMessage > messages
Definition QXmppMamManager.h:46
QXmppMamResultIq result
Definition QXmppMamManager.h:45