From 4b54ad17739d1075235f2960ecde230a58b5621c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:33:51 -0600 Subject: Rename old tq methods that no longer need a unique name (cherry picked from commit 089118c18533dfa3e6ce5065dbebdd4db94051f1) --- .../protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp') diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp index 89d66796..c6e05909 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp @@ -485,7 +485,7 @@ JT_Presence::~JT_Presence() { } -void JT_Presence::pres(const tqStatus &s) +void JT_Presence::pres(const Status &s) { type = 0; @@ -529,7 +529,7 @@ void JT_Presence::pres(const tqStatus &s) } } -void JT_Presence::pres(const Jid &to, const tqStatus &s) +void JT_Presence::pres(const Jid &to, const Status &s) { pres(s); tag.setAttribute("to", to.full()); @@ -569,7 +569,7 @@ bool JT_PushPresence::take(const TQDomElement &e) return false; Jid j(e.attribute("from")); - tqStatus p; + Status p; if(e.hasAttribute("type")) { TQString type = e.attribute("type"); @@ -593,7 +593,7 @@ bool JT_PushPresence::take(const TQDomElement &e) tag = findSubTag(e, "status", &found); if(found) - p.settqStatus(tagContent(tag)); + p.setStatus(tagContent(tag)); tag = findSubTag(e, "show", &found); if(found) p.setShow(tagContent(tag)); @@ -1338,7 +1338,7 @@ bool JT_ServInfo::take(const TQDomElement &e) // TQDomElement query = doc()->createElement("query"); // query.setAttribute("xmlns", "jabber:iq:time"); // iq.appendChild(query); - // TQDateTime local = TQDateTime::tqcurrentDateTime(); + // TQDateTime local = TQDateTime::currentDateTime(); // TQDateTime utc = local.addSecs(-getTZOffset() * 3600); // TQString str = getTZString(); // query.appendChild(textTag("utc", TS2stamp(utc))); @@ -1969,7 +1969,7 @@ JT_MucPresence::~JT_MucPresence() { } -void JT_MucPresence::pres(const tqStatus &s) +void JT_MucPresence::pres(const Status &s) { type = 0; @@ -2013,7 +2013,7 @@ void JT_MucPresence::pres(const tqStatus &s) } } -void JT_MucPresence::pres(const Jid &to, const tqStatus &s, const TQString &password) +void JT_MucPresence::pres(const Jid &to, const Status &s, const TQString &password) { pres(s); tag.setAttribute("to", to.full()); -- cgit v1.2.1