From 3bc421595e621aa2f0561356e36876bae176c5bf Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Mon, 6 Apr 2020 16:46:06 +0200 Subject: Add \since tags for QXmpp 1.0 everywhere --- src/base/QXmppPresence.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/base/QXmppPresence.cpp') diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp index 207ac8b6..edecc961 100644 --- a/src/base/QXmppPresence.cpp +++ b/src/base/QXmppPresence.cpp @@ -117,9 +117,12 @@ QXmppPresence::~QXmppPresence() = default; QXmppPresence &QXmppPresence::operator=(const QXmppPresence &other) = default; +/// /// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message, /// iq or presence) - +/// +/// \since QXmpp 1.0 +/// bool QXmppPresence::isXmppStanza() const { return true; @@ -331,17 +334,23 @@ void QXmppPresence::setMucSupported(bool supported) d->mucSupported = supported; } +/// /// Returns when the last user interaction with the client took place. See /// \xep{0319}: Last User Interaction in Presence for details. - +/// +/// \since QXmpp 1.0 +/// QDateTime QXmppPresence::lastUserInteraction() const { return d->lastUserInteraction; } +/// /// Sets the time of the last user interaction as defined in \xep{0319}: Last /// User Interaction in Presence. - +/// +/// \since QXmpp 1.0 +/// void QXmppPresence::setLastUserInteraction(const QDateTime &lastUserInteraction) { d->lastUserInteraction = lastUserInteraction; -- cgit v1.2.3