From d306ed08aa9d681a0b51ebbf2ec2a00b70b61018 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Thu, 27 Jan 2022 15:50:07 +0100 Subject: PubSubManager: Add PEP overloads for requestItem and similar --- src/client/QXmppPubSubManager.cpp | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'src/client/QXmppPubSubManager.cpp') diff --git a/src/client/QXmppPubSubManager.cpp b/src/client/QXmppPubSubManager.cpp index 52cb5de8..8e2a1b6f 100644 --- a/src/client/QXmppPubSubManager.cpp +++ b/src/client/QXmppPubSubManager.cpp @@ -740,6 +740,56 @@ QFuture QXmppPubSubManager::unsubscribeFromNode(cons /// \return /// +/// +/// \fn QXmppPubSubManager::requestPepItem(const QString &nodeName, const QString &itemId) +/// +/// Requests a specific item of a PEP node. +/// +/// This is a convenience method equivalent to calling +/// QXmppPubSubManager::requestItem on the current account's bare JID. +/// +/// \param nodeName name of the PEP node whose item is requested +/// \param itemId ID of the requested item +/// + +/// +/// \fn QXmppPubSubManager::requestPepItem(const QString &nodeName, StandardItemId itemId) +/// +/// Requests a specific item of a PEP node. +/// +/// The default value of itemId is used for singleton nodes (i.e., the node's +/// single item is requested). +/// +/// This is a convenience method equivalent to calling +/// QXmppPubSubManager::requestItem on the current account's bare JID. +/// +/// \param nodeName name of the PEP node whose item is requested +/// \param itemId ID of the requested item +/// + +/// +/// \fn QXmppPubSubManager::requestPepItems(const QString &nodeName) +/// +/// Requests all items of a PEP node. +/// +/// This is a convenience method equivalent to calling +/// QXmppPubSubManager::requestItems on the current account's bare JID. +/// +/// \param nodeName name of the PEP node whose items are requested +/// + +/// +/// \fn QXmppPubSubManager::requestPepItemIds(const QString &nodeName) +/// +/// Requests the IDs of all items of a pubsub service node via service +/// discovery. +/// +/// This is a convenience method equivalent to calling +/// QXmppPubSubManager::requestItemIds on the current account's bare JID. +/// +/// \param nodeName name of the PEP node whose item IDs are requested +/// + /// /// \fn QXmppPubSubManager::retractPepItem(const QString &nodeName, const QString &itemId) /// -- cgit v1.2.3