summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/kmail/kcmkmailsummary.cpp
diff options
context:
space:
mode:
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 {