diff options
Diffstat (limited to 'knode/knconfig.cpp')
-rw-r--r-- | knode/knconfig.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knconfig.cpp b/knode/knconfig.cpp index 608e625a9..a16e459f0 100644 --- a/knode/knconfig.cpp +++ b/knode/knconfig.cpp @@ -149,7 +149,7 @@ TQString KNConfig::Identity::getSignature() else s_igContents = s_igText; - if (!s_igContents.isEmpty() && !s_igContents.tqcontains("\n-- \n") && !(s_igContents.left(4) == "-- \n")) + if (!s_igContents.isEmpty() && !s_igContents.contains("\n-- \n") && !(s_igContents.left(4) == "-- \n")) s_igContents.prepend("-- \n"); return s_igContents; @@ -801,7 +801,7 @@ void KNConfig::DisplayedHeaders::remove(KNDisplayedHeader *h) void KNConfig::DisplayedHeaders::up(KNDisplayedHeader *h) { - int idx = mHeaderList.tqfindIndex( h ); + int idx = mHeaderList.findIndex( h ); if ( idx != -1 ) { mHeaderList.remove( mHeaderList.at( idx ) ); mHeaderList.insert( mHeaderList.at( idx - 1 ), h ); @@ -812,7 +812,7 @@ void KNConfig::DisplayedHeaders::up(KNDisplayedHeader *h) void KNConfig::DisplayedHeaders::down(KNDisplayedHeader *h) { - int idx = mHeaderList.tqfindIndex( h ); + int idx = mHeaderList.findIndex( h ); if ( idx != -1 ) { mHeaderList.remove( mHeaderList.at( idx ) ); mHeaderList.insert( mHeaderList.at( idx + 1 ), h ); @@ -862,7 +862,7 @@ void KNConfig::Scoring::save() KNConfig::XHeader::XHeader(const TQString &s) { if(s.left(2)=="X-") { - int pos=s.tqfind(": "); + int pos=s.find(": "); if(pos!=-1) { n_ame=s.mid(2, pos-2).latin1(); pos+=2; @@ -999,7 +999,7 @@ int KNConfig::PostNewsTechnical::indexForCharset(const TQCString &str) TQCString KNConfig::PostNewsTechnical::findComposerCharset(TQCString cs) { - TQCString *ret=findComposerCSCache.tqfind(cs); + TQCString *ret=findComposerCSCache.find(cs); if (ret) return *ret; |