diff options
| author | Linus Jahn <lnj@kaidan.im> | 2021-09-29 13:27:43 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-09-29 16:37:41 +0200 |
| commit | bb861994bdf79cb783a07cc79ee18e8711295a91 (patch) | |
| tree | 79db76dd81c436a42332a078b5ce4ed72a785a65 /src/client/QXmppPubSubManager.cpp | |
| parent | 8e77649e2c29fd65d826852b99ff150cbe3bc337 (diff) | |
PubSubManager: Inline PEP requests
Diffstat (limited to 'src/client/QXmppPubSubManager.cpp')
| -rw-r--r-- | src/client/QXmppPubSubManager.cpp | 24 |
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 |
