diff options
Diffstat (limited to 'plugins/kmail')
-rw-r--r-- | plugins/kmail/bodypartformatter/text_calendar.cpp | 4 | ||||
-rw-r--r-- | plugins/kmail/bodypartformatter/text_vcard.cpp | 4 |
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]; } |