summaryrefslogtreecommitdiffstats
path: root/knode/kngroup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /knode/kngroup.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-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/kngroup.cpp')
-rw-r--r--knode/kngroup.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/kngroup.cpp b/knode/kngroup.cpp
index aad26b8b3..a6b3e6619 100644
--- a/knode/kngroup.cpp
+++ b/knode/kngroup.cpp
@@ -254,7 +254,7 @@ bool KNGroup::loadHdrs()
// following lines contain one header per line
for (uint i = buff.toUInt(); i > 0; --i) {
buff = f.readLine();
- int pos = buff.tqfind(':');
+ int pos = buff.find(':');
TQCString hdrName = buff.left( pos );
// skip headers we already set above and which we actually never should
// find here, but however it still happens... (eg. #101355)
@@ -457,10 +457,10 @@ void KNGroup::insortNewHeaders(TQStrList *hdrs, TQStrList *hdrfmt, KNProtocolCli
if (!split.next())
break;
data = split.string();
- int pos = hdr.tqfind(':');
+ int pos = hdr.find(':');
hdrName = hdr.left( pos );
// if the header format is 'full' we have to strip the header name
- if (hdr.tqfindRev("full") == (int)(hdr.length() - 4))
+ if (hdr.findRev("full") == (int)(hdr.length() - 4))
data = data.right( data.length() - (hdrName.length() + 2) );
// add header
@@ -558,7 +558,7 @@ int KNGroup::saveStaticData(int cnt,bool ovr)
// optional headers
ts << mOptionalHeaders.count() << '\n';
for (TQCString hdrName = mOptionalHeaders.first(); !hdrName.isNull(); hdrName = mOptionalHeaders.next()) {
- hdrName = hdrName.left( hdrName.tqfind(':') );
+ hdrName = hdrName.left( hdrName.find(':') );
KMime::Headers::Base *hdr = art->getHeaderByType( hdrName );
if ( hdr )
ts << hdrName << ": " << hdr->asUnicodeString() << '\n';
@@ -701,7 +701,7 @@ void KNGroup::buildThreads(int cnt, KNProtocolClient *client)
art=at(idx);
if(art->threadingLevel()>1) {
oldRef=art->idRef();
- ref=tqfindReference(art);
+ ref=findReference(art);
if(ref) {
// this method is called from the nntp-thread!!!
#ifndef NDEBUG
@@ -720,7 +720,7 @@ void KNGroup::buildThreads(int cnt, KNProtocolClient *client)
if(art->idRef()==-1 && !art->references()->isEmpty() ){ //hdr has references
refCnt++;
- if(tqfindReference(art))
+ if(findReference(art))
foundCnt++;
}
else {
@@ -866,7 +866,7 @@ void KNGroup::buildThreads(int cnt, KNProtocolClient *client)
}
-KNRemoteArticle* KNGroup::tqfindReference(KNRemoteArticle *a)
+KNRemoteArticle* KNGroup::findReference(KNRemoteArticle *a)
{
int found=false;
TQCString ref_mid;