diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /knode/kngroupmanager.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
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
Diffstat (limited to 'knode/kngroupmanager.cpp')
-rw-r--r-- | knode/kngroupmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<KNGroupInfo>* 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 |