From 4c6f8d69e2d1501837affb472c4eb8fec4462240 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/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/kngroupmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'knode/kngroupmanager.cpp') diff --git a/knode/kngroupmanager.cpp b/knode/kngroupmanager.cpp index 151efa0f0..c0677a0ad 100644 --- a/knode/kngroupmanager.cpp +++ b/knode/kngroupmanager.cpp @@ -111,7 +111,7 @@ bool KNGroupListData::readIn(KNProtocolClient *client) if(f.open(IO_ReadOnly)) { while(!f.atEnd()) { line = f.readLine(); - sepPos1 = line.tqfind(' '); + sepPos1 = line.find(' '); if (sepPos1==-1) { // no description name = TQString::fromUtf8(line); @@ -120,7 +120,7 @@ bool KNGroupListData::readIn(KNProtocolClient *client) } else { name = TQString::fromUtf8(line.left(sepPos1)); - sepPos2 = line.tqfind(' ',sepPos1+1); + sepPos2 = line.find(' ',sepPos1+1); if (sepPos2==-1) { // no status description = TQString::fromUtf8(line.right(line.length()-sepPos1-1)); status = KNGroup::unknown; @@ -139,7 +139,7 @@ bool KNGroupListData::readIn(KNProtocolClient *client) } } - if (subscribed.tqcontains(name)) { + if (subscribed.contains(name)) { subscribed.remove(name); // group names are unique, we wont find it again anyway... sub = true; } else @@ -201,7 +201,7 @@ void KNGroupListData::merge(TQSortedList* newGroups) bool subscribed; for (KNGroupInfo *i=newGroups->first(); i; i=newGroups->next()) { - if (groups->tqfind(i)>=0) { + if (groups->find(i)>=0) { subscribed = groups->current()->subscribed; groups->remove(); // avoid duplicates } else -- cgit v1.2.1