summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_vcard.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /plugins/kmail/bodypartformatter/text_vcard.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_vcard.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_vcard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kmail/bodypartformatter/text_vcard.cpp b/plugins/kmail/bodypartformatter/text_vcard.cpp
index 014493a9..a084aea1 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() );
}
}