aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppEntityTimeIq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppEntityTimeIq.cpp')
-rw-r--r--src/base/QXmppEntityTimeIq.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/QXmppEntityTimeIq.cpp b/src/base/QXmppEntityTimeIq.cpp
index 5e41e39f..fcb6a99c 100644
--- a/src/base/QXmppEntityTimeIq.cpp
+++ b/src/base/QXmppEntityTimeIq.cpp
@@ -72,8 +72,8 @@ bool QXmppEntityTimeIq::isEntityTimeIq(const QDomElement &element)
void QXmppEntityTimeIq::parseElementFromChild(const QDomElement &element)
{
QDomElement timeElement = element.firstChildElement("time");
- m_tzo = timezoneOffsetFromString(timeElement.firstChildElement("tzo").text());
- m_utc = datetimeFromString(timeElement.firstChildElement("utc").text());
+ m_tzo = QXmppUtils::timezoneOffsetFromString(timeElement.firstChildElement("tzo").text());
+ m_utc = QXmppUtils::datetimeFromString(timeElement.firstChildElement("utc").text());
}
void QXmppEntityTimeIq::toXmlElementFromChild(QXmlStreamWriter *writer) const
@@ -83,8 +83,8 @@ void QXmppEntityTimeIq::toXmlElementFromChild(QXmlStreamWriter *writer) const
if(m_utc.isValid())
{
- helperToXmlAddTextElement(writer, "tzo", timezoneOffsetToString(m_tzo));
- helperToXmlAddTextElement(writer, "utc", datetimeToString(m_utc));
+ helperToXmlAddTextElement(writer, "tzo", QXmppUtils::timezoneOffsetToString(m_tzo));
+ helperToXmlAddTextElement(writer, "utc", QXmppUtils::datetimeToString(m_utc));
}
writer->writeEndElement();
}