summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/kmail/kcmkmailsummary.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 /kontact/plugins/kmail/kcmkmailsummary.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 'kontact/plugins/kmail/kcmkmailsummary.cpp')
-rw-r--r--kontact/plugins/kmail/kcmkmailsummary.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/kmail/kcmkmailsummary.cpp b/kontact/plugins/kmail/kcmkmailsummary.cpp
index bc0d683e7..97fc9fad1 100644
--- a/kontact/plugins/kmail/kcmkmailsummary.cpp
+++ b/kontact/plugins/kmail/kcmkmailsummary.cpp
@@ -108,12 +108,12 @@ void KCMKMailSummary::initFolders()
DCOPRef folderRef = kmail.call( "getFolder(TQString)", *it );
folderRef.call( "displayName()" ).get( displayName );
}
- if ( (*it).tqcontains( '/' ) == 1 ) {
- if ( mFolderMap.tqfind( *it ) == mFolderMap.end() )
+ if ( (*it).contains( '/' ) == 1 ) {
+ if ( mFolderMap.find( *it ) == mFolderMap.end() )
mFolderMap.insert( *it, new TQListViewItem( mFolderView,
displayName ) );
} else {
- const int pos = (*it).tqfindRev( '/' );
+ const int pos = (*it).findRev( '/' );
const TQString parentFolder = (*it).left( pos );
mFolderMap.insert( *it,
new TQCheckListItem( mFolderMap[ parentFolder ],
@@ -137,7 +137,7 @@ void KCMKMailSummary::loadFolders()
TQMap<TQString, TQListViewItem*>::Iterator it;
for ( it = mFolderMap.begin(); it != mFolderMap.end(); ++it ) {
if ( TQCheckListItem *qli = dynamic_cast<TQCheckListItem*>( it.data() ) ) {
- if ( folders.tqcontains( it.key() ) ) {
+ if ( folders.contains( it.key() ) ) {
qli->setOn( true );
mFolderView->ensureItemVisible( it.data() );
} else {