aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppPubSubManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppPubSubManager.cpp')
-rw-r--r--src/client/QXmppPubSubManager.cpp24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/client/QXmppPubSubManager.cpp b/src/client/QXmppPubSubManager.cpp
index 1b188c64..c28df7f3 100644
--- a/src/client/QXmppPubSubManager.cpp
+++ b/src/client/QXmppPubSubManager.cpp
@@ -473,6 +473,8 @@ QFuture<QXmppPubSubManager::Result> QXmppPubSubManager::setSubscribeOptions(cons
}
///
+/// \fn QXmppPubSubManager::createPepNode
+///
/// Creates an empty PEP node with the default configuration.
///
/// This is a convenience method equivalent to calling
@@ -485,12 +487,10 @@ QFuture<QXmppPubSubManager::Result> QXmppPubSubManager::setSubscribeOptions(cons
/// \param nodeName the name of the PEP node to be created
/// \return
///
-auto QXmppPubSubManager::createPepNode(const QString &nodeName) -> QFuture<Result>
-{
- return createNode(client()->configuration().jidBare(), nodeName);
-}
///
+/// \fn QXmppPubSubManager::deletePepNode
+///
/// Deletes a PEP node.
///
/// This is a convenience method equivalent to calling
@@ -500,12 +500,10 @@ auto QXmppPubSubManager::createPepNode(const QString &nodeName) -> QFuture<Resul
/// items
/// \return
///
-auto QXmppPubSubManager::deletePepNode(const QString &nodeName) -> QFuture<Result>
-{
- return deleteNode(client()->configuration().jidBare(), nodeName);
-}
///
+/// \fn QXmppPubSubManager::retractPepItem
+///
/// Deletes an item from a PEP node.
///
/// This is a convenience method equivalent to calling
@@ -515,12 +513,10 @@ auto QXmppPubSubManager::deletePepNode(const QString &nodeName) -> QFuture<Resul
/// \param itemId the ID of the item to delete
/// \return
///
-auto QXmppPubSubManager::retractPepItem(const QString &nodeName, const QString &itemId) -> QFuture<Result>
-{
- return retractItem(client()->configuration().jidBare(), nodeName, itemId);
-}
///
+/// \fn QXmppPubSubManager::purgePepItems
+///
/// Purges all items from a PEP node.
///
/// This is a convenience method equivalent to calling
@@ -530,10 +526,6 @@ auto QXmppPubSubManager::retractPepItem(const QString &nodeName, const QString &
/// items
/// \return
///
-auto QXmppPubSubManager::purgePepItems(const QString &nodeName) -> QFuture<Result>
-{
- return purgeItems(client()->configuration().jidBare(), nodeName);
-}
/// \cond
QStringList QXmppPubSubManager::discoveryFeatures() const