aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/profileDialog.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-05-14 12:24:07 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-05-14 12:24:07 +0200
commitddbd1af3debdca662045900768b19c7d4a20efab (patch)
tree85451210044b6642e3811637a22337bbcac24b2f /examples/GuiClient/profileDialog.cpp
parent08666775ceed284764894b82e67256c176cd35fa (diff)
downloadqxmpp-ddbd1af3debdca662045900768b19c7d4a20efab.tar.gz
fix compilation of GuiClient
Diffstat (limited to 'examples/GuiClient/profileDialog.cpp')
-rw-r--r--examples/GuiClient/profileDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/GuiClient/profileDialog.cpp b/examples/GuiClient/profileDialog.cpp
index 8dbbbd58..1a06364f 100644
--- a/examples/GuiClient/profileDialog.cpp
+++ b/examples/GuiClient/profileDialog.cpp
@@ -98,14 +98,14 @@ void profileDialog::setStatusText(const QString& status)
void profileDialog::versionReceived(const QXmppVersionIq& ver)
{
- m_versions[jidToResource(ver.from())] = ver;
+ m_versions[QXmppUtils::jidToResource(ver.from())] = ver;
if(ver.type() == QXmppIq::Result)
updateText();
}
void profileDialog::timeReceived(const QXmppEntityTimeIq& time)
{
- m_time[jidToResource(time.from())] = time;
+ m_time[QXmppUtils::jidToResource(time.from())] = time;
if(time.type() == QXmppIq::Result)
updateText();
}
@@ -135,7 +135,7 @@ void profileDialog::updateText()
{
statusText += "<B>Time: </B>" + QString("utc=%1 [tzo=%2]").
arg(m_time[resource].utc().toString()).
- arg(timezoneOffsetToString(m_time[resource].tzo()));
+ arg(QXmppUtils::timezoneOffsetToString(m_time[resource].tzo()));
statusText += "<BR>";
}