diff options
Diffstat (limited to 'knode/kngroup.cpp')
-rw-r--r-- | knode/kngroup.cpp | 14 |
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; |