summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_calendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_calendar.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_calendar.cpp4
1 files changed, 2 insertions, 2 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;