Obsolete Members for QXmppMamManager

The following members of class QXmppMamManager are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(since QXmpp 1.5, deprecated) struct RetrievedMessages
(since QXmpp 1.5, deprecated) RetrieveResult

Public Functions

(since QXmpp 1.5, deprecated) QXmppTask<QXmppMamManager::RetrieveResult> retrieveMessages(const QString &to = QString(), const QString &node = QString(), const QString &jid = QString(), const QDateTime &start = QDateTime(), const QDateTime &end = QDateTime(), const QXmppResultSetQuery &resultSetQuery = QXmppResultSetQuery())

Member Type Documentation

[alias, since QXmpp 1.5, deprecated] QXmppMamManager::RetrieveResult

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

Contains RetrievedMessages or an QXmppError.

since QXmpp 1.18, use retrieve() and QXmpp::Mam::RetrieveResult

This typedef was introduced in QXmpp 1.5.

Member Function Documentation

[since QXmpp 1.5, deprecated] QXmppTask<QXmppMamManager::RetrieveResult> QXmppMamManager::retrieveMessages(const QString &to = QString(), const QString &node = QString(), const QString &jid = QString(), const QDateTime &start = QDateTime(), const QDateTime &end = QDateTime(), const QXmppResultSetQuery &resultSetQuery = QXmppResultSetQuery())

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

Retrieves archived messages and reports all messages at once via a QFuture.

This function tries to decrypt encrypted messages. Use retrieve() to get the result of the decryption and the resolved sender of the messages.

The number of results may be limited by the server.

to is an optional entity that should be queried. Leave this empty to query the local archive. node is an optional node that should be queried. This is used when querying a pubsub node. jid is an optional JID to filter the results. start is an optional start time to filter the results, end an optional end time to filter the results. resultSetQuery is an optional Result Set Management query. This can be used to limit the number of results and to page through the archive.

Returns the result of the query.

since QXmpp 1.18, use retrieve()

This function was introduced in QXmpp 1.5.