aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppPresence.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-04-06 16:46:06 +0200
committerLinus Jahn <lnj@kaidan.im>2020-04-06 16:46:06 +0200
commit3bc421595e621aa2f0561356e36876bae176c5bf (patch)
tree6a36092dcb9864a2c10fbf73258f3371aac742a7 /src/base/QXmppPresence.cpp
parente336f2a2eba0f5c7f02054532442e9119d4c82e7 (diff)
downloadqxmpp-3bc421595e621aa2f0561356e36876bae176c5bf.tar.gz
Add \since tags for QXmpp 1.0 everywhere
Diffstat (limited to 'src/base/QXmppPresence.cpp')
-rw-r--r--src/base/QXmppPresence.cpp15
1 files changed, 12 insertions, 3 deletions
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;