aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppEntityTimeIq.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2021-03-27 19:52:15 +0100
committerLinus Jahn <lnj@kaidan.im>2021-03-28 00:09:13 +0100
commitfdbe1aef602b03f35be1d5e9d8baf02fb6c8f00a (patch)
treea3a14aca9f32793cca929ca8df635e14abcaacf5 /src/base/QXmppEntityTimeIq.cpp
parent9fe3a0ed9dbaaf6c94b75830fbf2edee8cf94a58 (diff)
doc: Fix many small doxygen warnings
Diffstat (limited to 'src/base/QXmppEntityTimeIq.cpp')
-rw-r--r--src/base/QXmppEntityTimeIq.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/base/QXmppEntityTimeIq.cpp b/src/base/QXmppEntityTimeIq.cpp
index ce9e6d1b..7ba76000 100644
--- a/src/base/QXmppEntityTimeIq.cpp
+++ b/src/base/QXmppEntityTimeIq.cpp
@@ -28,47 +28,52 @@
#include <QDomElement>
+///
/// Returns the timezone offset in seconds.
///
-
int QXmppEntityTimeIq::tzo() const
{
return m_tzo;
}
+///
/// Sets the timezone offset in seconds.
///
/// \param tzo
-
+///
void QXmppEntityTimeIq::setTzo(int tzo)
{
m_tzo = tzo;
}
+///
/// Returns the date/time in Coordinated Universal Time (UTC).
///
-
QDateTime QXmppEntityTimeIq::utc() const
{
return m_utc;
}
+///
/// Sets the date/time in Coordinated Universal Time (UTC).
///
/// \param utc
-
+///
void QXmppEntityTimeIq::setUtc(const QDateTime &utc)
{
m_utc = utc;
}
-/// \cond
+///
+/// Returns true, if the element is a valid entity time IQ.
+///
bool QXmppEntityTimeIq::isEntityTimeIq(const QDomElement &element)
{
QDomElement timeElement = element.firstChildElement("time");
return timeElement.namespaceURI() == ns_entity_time;
}
+/// \cond
void QXmppEntityTimeIq::parseElementFromChild(const QDomElement &element)
{
QDomElement timeElement = element.firstChildElement("time");