summaryrefslogtreecommitdiffstats
path: root/plugins/kmail
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 /plugins/kmail
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 'plugins/kmail')
-rw-r--r--plugins/kmail/bodypartformatter/text_calendar.cpp4
-rw-r--r--plugins/kmail/bodypartformatter/text_vcard.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kmail/bodypartformatter/text_calendar.cpp b/plugins/kmail/bodypartformatter/text_calendar.cpp
index d07e6cb11..b615452a9 100644
--- a/plugins/kmail/bodypartformatter/text_calendar.cpp
+++ b/plugins/kmail/bodypartformatter/text_calendar.cpp
@@ -118,10 +118,10 @@ CalendarManager::CalendarManager()
const TQStringList subResources = (*it)->subresources();
TQMap<TQString, int> prefixSet; // KDE4: TQSet
for ( TQStringList::ConstIterator subIt = subResources.begin(); subIt != subResources.end(); ++subIt ) {
- if ( !(*subIt).tqcontains( "/.INBOX.directory/" ) )
+ if ( !(*subIt).contains( "/.INBOX.directory/" ) )
// we don't care about shared folders
continue;
- prefixSet.insert( (*subIt).left( (*subIt).tqfind( "/.INBOX.directory/" ) ), 0 );
+ prefixSet.insert( (*subIt).left( (*subIt).find( "/.INBOX.directory/" ) ), 0 );
}
if ( prefixSet.count() > 1 )
multipleKolabResources = true;
diff --git a/plugins/kmail/bodypartformatter/text_vcard.cpp b/plugins/kmail/bodypartformatter/text_vcard.cpp
index a084aea13..9752336a7 100644
--- a/plugins/kmail/bodypartformatter/text_vcard.cpp
+++ b/plugins/kmail/bodypartformatter/text_vcard.cpp
@@ -133,7 +133,7 @@ namespace {
#else
Addressee::List al = vcc.parseVCards( vCard );
#endif
- int index = path.right( path.length() - path.tqfindRev( ":" ) - 1 ).toInt();
+ int index = path.right( path.length() - path.findRev( ":" ) - 1 ).toInt();
if ( index == -1 ) return true;
KABC::Addressee a = al[index];
if ( a.isEmpty() ) return true;
@@ -151,7 +151,7 @@ namespace {
#else
Addressee::List al = vcc.parseVCards( vCard );
#endif
- int index = path.right( path.length() - path.tqfindRev( ":" ) - 1 ).toInt();
+ int index = path.right( path.length() - path.findRev( ":" ) - 1 ).toInt();
if ( index >= 0 ) {
return al[index];
}