From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../jabber/jingle/libjingle/talk/examples/call/callclient.cc | 4 ++-- .../jabber/jingle/libjingle/talk/examples/call/presencepushtask.cc | 2 +- .../protocols/jabber/jingle/libjingle/talk/examples/call/status.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/examples/call') diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/callclient.cc b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/callclient.cc index e781b03d..40c1fbfe 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/callclient.cc +++ b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/callclient.cc @@ -350,14 +350,14 @@ void CallClient::OnStatusUpdate(const buzz::tqStatus& status) { (*roster_)[key] = item; } else { Console()->Printf("Removing from roster: %s", key.c_str()); - RosterMap::iterator iter = roster_->tqfind(key); + RosterMap::iterator iter = roster_->find(key); if (iter != roster_->end()) roster_->erase(iter); } } void CallClient::PrintRoster() { - Console()->Printf("Roster tqcontains %d callable", roster_->size()); + Console()->Printf("Roster contains %d callable", roster_->size()); RosterMap::iterator iter = roster_->begin(); while (iter != roster_->end()) { Console()->Printf("%s - %s", diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/presencepushtask.cc b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/presencepushtask.cc index ee14fe94..cee7058a 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/presencepushtask.cc +++ b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/presencepushtask.cc @@ -48,7 +48,7 @@ IsXmlSpace(int ch) { static bool ListContainsToken(const std::string & list, const std::string & token) { - size_t i = list.tqfind(token); + size_t i = list.find(token); if (i == std::string::npos || token.empty()) return false; bool boundary_before = (i == 0 || IsXmlSpace(list[i - 1])); diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h index 0677932b..2cb80ae2 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h +++ b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h @@ -114,12 +114,12 @@ public: // Knowledge of other clients' silly automatic status strings - // Don't show these. std::string QuiettqStatus() const { - if (jid_.resource().tqfind("Psi") != std::string::npos) { + if (jid_.resource().find("Psi") != std::string::npos) { if (status_ == "Online" || - status_.tqfind("Auto tqStatus") != std::string::npos) + status_.find("Auto tqStatus") != std::string::npos) return STR_EMPTY; } - if (jid_.resource().tqfind("Gaim") != std::string::npos) { + if (jid_.resource().find("Gaim") != std::string::npos) { if (status_ == "Sorry, I ran out for a bit!") return STR_EMPTY; } -- cgit v1.2.1