aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppJingleIq.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-04-06 17:20:11 +0200
committerLinus Jahn <lnj@kaidan.im>2020-04-06 17:20:11 +0200
commitd7265e11c4bdab3b203362cf3052834d7371d507 (patch)
tree1285acb9ccc678b805f2f8043c7ee9d5fa11f4c3 /src/base/QXmppJingleIq.cpp
parent8be8ee308c5523a207ea1aac9a0174ab0c42e0f7 (diff)
downloadqxmpp-d7265e11c4bdab3b203362cf3052834d7371d507.tar.gz
Add \since tags for QXmpp 0.9 everywhere
Diffstat (limited to 'src/base/QXmppJingleIq.cpp')
-rw-r--r--src/base/QXmppJingleIq.cpp62
1 files changed, 52 insertions, 10 deletions
diff --git a/src/base/QXmppJingleIq.cpp b/src/base/QXmppJingleIq.cpp
index 8af05ab4..64650d29 100644
--- a/src/base/QXmppJingleIq.cpp
+++ b/src/base/QXmppJingleIq.cpp
@@ -235,11 +235,23 @@ void QXmppJingleIq::Content::setDescriptionMedia(const QString &media)
d->descriptionMedia = media;
}
+///
+/// Returns the description's 32-bit synchronization source for the media
+/// stream, as defined in RFC 3550.
+///
+/// \since QXmpp 0.9
+///
quint32 QXmppJingleIq::Content::descriptionSsrc() const
{
return d->descriptionSsrc;
}
+///
+/// Sets the description's 32-bit synchronization source for the media stream,
+/// as defined in RFC 3550.
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleIq::Content::setDescriptionSsrc(quint32 ssrc)
{
d->descriptionSsrc = ssrc;
@@ -304,55 +316,73 @@ void QXmppJingleIq::Content::setTransportPassword(const QString &password)
d->transportPassword = password;
}
+///
/// Returns the fingerprint hash value for the transport key.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
QByteArray QXmppJingleIq::Content::transportFingerprint() const
{
return d->transportFingerprint;
}
+///
/// Sets the fingerprint hash value for the transport key.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleIq::Content::setTransportFingerprint(const QByteArray &fingerprint)
{
d->transportFingerprint = fingerprint;
}
+///
/// Returns the fingerprint hash algorithm for the transport key.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
QString QXmppJingleIq::Content::transportFingerprintHash() const
{
return d->transportFingerprintHash;
}
+///
/// Sets the fingerprint hash algorithm for the transport key.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleIq::Content::setTransportFingerprintHash(const QString &hash)
{
d->transportFingerprintHash = hash;
}
+///
/// Returns the setup role for the encrypted transport.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
QString QXmppJingleIq::Content::transportFingerprintSetup() const
{
return d->transportFingerprintSetup;
}
+///
/// Sets the setup role for the encrypted transport.
///
/// This is used for DTLS-SRTP as defined in \xep{0320}.
-
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleIq::Content::setTransportFingerprintSetup(const QString &setup)
{
d->transportFingerprintSetup = setup;
@@ -985,33 +1015,45 @@ void QXmppJingleCandidate::setComponent(int component)
d->component = component;
}
+///
/// Returns the candidate's foundation.
-
+///
+/// \since QXmpp 0.9
+///
QString QXmppJingleCandidate::foundation() const
{
return d->foundation;
}
+///
/// Sets the candidate's foundation.
///
/// \param foundation
-
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleCandidate::setFoundation(const QString &foundation)
{
d->foundation = foundation;
}
+///
/// Returns the candidate's generation.
-
+///
+/// \since QXmpp 0.9
+///
int QXmppJingleCandidate::generation() const
{
return d->generation;
}
+///
/// Sets the candidate's generation.
///
/// \param generation
-
+///
+/// \since QXmpp 0.9
+///
void QXmppJingleCandidate::setGeneration(int generation)
{
d->generation = generation;