aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppPubSubManager.cpp
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-01-27 15:50:07 +0100
committerLinus Jahn <lnj@kaidan.im>2022-04-09 22:27:11 +0200
commitd306ed08aa9d681a0b51ebbf2ec2a00b70b61018 (patch)
tree1648841a121582bd68b9d1b70df1ac92fdc69af8 /src/client/QXmppPubSubManager.cpp
parent0db9b42c59864d771f5269c54884862fa897437e (diff)
PubSubManager: Add PEP overloads for requestItem and similar
Diffstat (limited to 'src/client/QXmppPubSubManager.cpp')
-rw-r--r--src/client/QXmppPubSubManager.cpp50
1 files changed, 50 insertions, 0 deletions
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
@@ -741,6 +741,56 @@ QFuture<QXmppPubSubManager::Result> QXmppPubSubManager::unsubscribeFromNode(cons
///
///
+/// \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)
///
/// Deletes an item from a PEP node.