summaryrefslogtreecommitdiffstats
path: root/knode/knconfig.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/knconfig.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/knconfig.cpp')
-rw-r--r--knode/knconfig.cpp10
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;