summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/kabc/contact.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kresources/scalix/kabc/contact.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kresources/scalix/kabc/contact.cpp')
-rw-r--r--kresources/scalix/kabc/contact.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kresources/scalix/kabc/contact.cpp b/kresources/scalix/kabc/contact.cpp
index 762d4b9fe..9f38674ef 100644
--- a/kresources/scalix/kabc/contact.cpp
+++ b/kresources/scalix/kabc/contact.cpp
@@ -103,19 +103,19 @@ TQString Contact::toXml( const KABC::Addressee &addr )
comment = addr.formattedName();
display = emails[ i ];
} else {
- comment = custom( TQString( "email%1_address_with_comment" ).tqarg( i + 1 ), addr );
- display = custom( TQString( "email%1_display_name" ).tqarg( i + 1 ), addr );
+ comment = custom( TQString( "email%1_address_with_comment" ).arg( i + 1 ), addr );
+ display = custom( TQString( "email%1_display_name" ).arg( i + 1 ), addr );
}
}
- xml += TQString( "<email%1_address_type>" ).tqarg( i + 1 ) + type +
- TQString( "</email%1_address_type>" ).tqarg( i + 1 ) +"\n";
- xml += TQString( "<email%1_address>" ).tqarg( i + 1 ) + address +
- TQString( "</email%1_address>" ).tqarg( i + 1 ) +"\n";
- xml += TQString( "<email%1_address_with_comment>" ).tqarg( i + 1 ) + comment +
- TQString( "</email%1_address_with_comment>" ).tqarg( i + 1 ) + "\n";
- xml += TQString( "<email%1_display_name>" ).tqarg( i + 1 ) + display +
- TQString( "</email%1_display_name>" ).tqarg( i + 1 ) + "\n";
+ xml += TQString( "<email%1_address_type>" ).arg( i + 1 ) + type +
+ TQString( "</email%1_address_type>" ).arg( i + 1 ) +"\n";
+ xml += TQString( "<email%1_address>" ).arg( i + 1 ) + address +
+ TQString( "</email%1_address>" ).arg( i + 1 ) +"\n";
+ xml += TQString( "<email%1_address_with_comment>" ).arg( i + 1 ) + comment +
+ TQString( "</email%1_address_with_comment>" ).arg( i + 1 ) + "\n";
+ xml += TQString( "<email%1_display_name>" ).arg( i + 1 ) + display +
+ TQString( "</email%1_display_name>" ).arg( i + 1 ) + "\n";
}
KABC::PhoneNumber phone = addr.phoneNumber( KABC::PhoneNumber::Home );