diff options
Diffstat (limited to 'knode/kngroup.cpp')
-rw-r--r-- | knode/kngroup.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/knode/kngroup.cpp b/knode/kngroup.cpp index 3584e7447..1815027c0 100644 --- a/knode/kngroup.cpp +++ b/knode/kngroup.cpp @@ -167,8 +167,8 @@ void KNGroup::saveInfo() KNNntpAccount* KNGroup::account() { - KNCollection *p=parent(); - while(p->type()!=KNCollection::CTnntpAccount) p=p->parent(); + KNCollection *p=tqparent(); + while(p->type()!=KNCollection::CTnntpAccount) p=p->tqparent(); return (KNNntpAccount*)p_arent; } @@ -184,7 +184,7 @@ bool KNGroup::loadHdrs() kdDebug(5003) << "KNGroup::loadHdrs() : loading headers" << endl; TQCString buff, hdrValue; KNFile f; - KQCStringSplitter split; + KTQCStringSplitter split; int cnt=0, id, lines, fileFormatVersion, artNumber; unsigned int timeT; KNRemoteArticle *art; @@ -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.find(':'); + int pos = buff.tqfind(':'); 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) @@ -388,7 +388,7 @@ void KNGroup::insortNewHeaders(TQStrList *hdrs, TQStrList *hdrfmt, KNProtocolCli { KNRemoteArticle *art=0, *art2=0; TQCString data, hdr, hdrName; - KQCStringSplitter split; + KTQCStringSplitter split; split.setIncludeSep(false); int new_cnt=0, added_cnt=0, todo=hdrs->count(); TQTime timer; @@ -457,7 +457,7 @@ void KNGroup::insortNewHeaders(TQStrList *hdrs, TQStrList *hdrfmt, KNProtocolCli if (!split.next()) break; data = split.string(); - int pos = hdr.find(':'); + int pos = hdr.tqfind(':'); hdrName = hdr.left( pos ); // if the header format is 'full' we have to strip the header name if (hdr.findRev("full") == (int)(hdr.length() - 4)) @@ -492,7 +492,7 @@ void KNGroup::insortNewHeaders(TQStrList *hdrs, TQStrList *hdrfmt, KNProtocolCli } // now we build the threads - syncSearchIndex(); // recreate the msgId-index so it tqcontains the appended headers + syncSearchIndex(); // recreate the msgId-index so it contains the appended headers buildThreads(added_cnt, client); updateThreadInfo(); @@ -558,7 +558,7 @@ int KNGroup::saveStaticData(int cnt,bool ovr) // optional headers ts << mOptionalHeaders.count() << '\n'; for (TQCString hdrName = mOptionalHeaders.first(); hdrName; hdrName = mOptionalHeaders.next()) { - hdrName = hdrName.left( hdrName.find(':') ); + hdrName = hdrName.left( hdrName.tqfind(':') ); KMime::Headers::Base *hdr = art->getHeaderByType( hdrName ); if ( hdr ) ts << hdrName << ": " << hdr->asUnicodeString() << '\n'; @@ -936,7 +936,7 @@ void KNGroup::scoreArticles(bool onlynew) incReadCount(); } - knGlobals.seStatusMsg(TQString::null); + knGlobals.seStatusMsg(TQString()); knGlobals.top->setCursorBusy(false); //kdDebug(5003) << KNScorableArticle::notifyC->collection() << endl; @@ -965,7 +965,7 @@ void KNGroup::reorganize() saveStaticData(length(), true); saveDynamicData(length(), true); knGlobals.top->headerView()->tqrepaint(); - knGlobals.seStatusMsg(TQString::null); + knGlobals.seStatusMsg(TQString()); knGlobals.top->setCursorBusy(false); } @@ -1050,7 +1050,7 @@ int KNGroup::statThrWithUnread() TQString KNGroup::prepareForExecution() { if (knGlobals.groupManager()->loadHeaders(this)) - return TQString::null; + return TQString(); else return i18n("Cannot load saved headers: %1").arg(groupname()); } |