diff options
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_vcard.cpp')
-rw-r--r-- | plugins/kmail/bodypartformatter/text_vcard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kmail/bodypartformatter/text_vcard.cpp b/plugins/kmail/bodypartformatter/text_vcard.cpp index 014493a96..a084aea13 100644 --- a/plugins/kmail/bodypartformatter/text_vcard.cpp +++ b/plugins/kmail/bodypartformatter/text_vcard.cpp @@ -104,7 +104,7 @@ namespace { writer->queue( contact ); TQString addToLinkText = i18n( "[Add this contact to the addressbook]" ); - TQString op = TQString::tqfromLatin1( "addToAddressBook:%1" ).arg( count ); + TQString op = TQString::tqfromLatin1( "addToAddressBook:%1" ).tqarg( count ); writer->queue( "<div align=\"center\"><a href=\"" + bodyPart->makeLink( op ) + @@ -133,7 +133,7 @@ namespace { #else Addressee::List al = vcc.parseVCards( vCard ); #endif - int index = path.right( path.length() - path.findRev( ":" ) - 1 ).toInt(); + int index = path.right( path.length() - path.tqfindRev( ":" ) - 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.findRev( ":" ) - 1 ).toInt(); + int index = path.right( path.length() - path.tqfindRev( ":" ) - 1 ).toInt(); if ( index >= 0 ) { return al[index]; } @@ -195,7 +195,7 @@ namespace { if ( a.realName().isEmpty() ) { return i18n( "Add this contact to the address book." ); } else { - return i18n( "Add \"%1\" to the address book." ).arg( a.realName() ); + return i18n( "Add \"%1\" to the address book." ).tqarg( a.realName() ); } } |