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 --- kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp') diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp index 39fbfdda..b94399ce 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp @@ -116,7 +116,7 @@ public: class NDnsManager::Private { public: - Item *tqfind(const NDns *n) + Item *find(const NDns *n) { TQPtrListIterator it(list); for(Item *i; (i = it.current()); ++it) { @@ -126,7 +126,7 @@ public: return 0; } - Item *tqfind(const NDnsWorker *w) + Item *find(const NDnsWorker *w) { TQPtrListIterator it(list); for(Item *i; (i = it.current()); ++it) { @@ -184,7 +184,7 @@ void NDnsManager::resolve(NDns *self, const TQString &name) void NDnsManager::stop(NDns *self) { - Item *i = d->tqfind(self); + Item *i = d->find(self); if(!i) return; // disassociate @@ -200,7 +200,7 @@ void NDnsManager::stop(NDns *self) bool NDnsManager::isBusy(const NDns *self) const { - Item *i = d->tqfind(self); + Item *i = d->find(self); return (i ? true: false); } @@ -210,7 +210,7 @@ bool NDnsManager::event(TQEvent *e) NDnsWorkerEvent *we = static_cast(e); we->worker->wait(); // ensure that the thread is terminated - Item *i = d->tqfind(we->worker); + Item *i = d->find(we->worker); if(!i) { // should NOT happen return true; -- cgit v1.2.1