From 8be8ee308c5523a207ea1aac9a0174ab0c42e0f7 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Mon, 6 Apr 2020 17:03:23 +0200 Subject: Add \since tags for QXmpp 0.9.2 everywhere --- src/base/QXmppJingleIq.cpp | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'src/base') diff --git a/src/base/QXmppJingleIq.cpp b/src/base/QXmppJingleIq.cpp index d89fbf06..8af05ab4 100644 --- a/src/base/QXmppJingleIq.cpp +++ b/src/base/QXmppJingleIq.cpp @@ -273,6 +273,11 @@ QList QXmppJingleIq::Content::transportCandidates() const return d->transportCandidates; } +/// +/// Sets a list of transport candidates. +/// +/// \since QXmpp 0.9.2 +/// void QXmppJingleIq::Content::setTransportCandidates(const QList &candidates) { d->transportType = candidates.isEmpty() ? QString() : ns_jingle_ice_udp; @@ -743,22 +748,31 @@ void QXmppJingleIq::setAction(QXmppJingleIq::Action action) d->action = action; } +/// /// Adds an element to the IQ's content elements. - +/// +/// \since QXmpp 0.9.2 +/// void QXmppJingleIq::addContent(const QXmppJingleIq::Content &content) { d->contents << content; } +/// /// Returns the IQ's content elements. - +/// +/// \since QXmpp 0.9.2 +/// QList QXmppJingleIq::contents() const { return d->contents; } +/// /// Sets the IQ's content elements. - +/// +/// \since QXmpp 0.9.2 +/// void QXmppJingleIq::setContents(const QList &contents) { d->contents = contents; -- cgit v1.2.3