summaryrefslogtreecommitdiffstats
path: root/kabc/vcardformatimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
commitbab40890696ec68c337dc290880423a0602b83c7 (patch)
tree6ba03f720b1fa88235ba339e7aedb4455430357e /kabc/vcardformatimpl.cpp
parentf7e71d47719ab6094cf4a9fafffa5ea351973522 (diff)
downloadtdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz
tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/vcardformatimpl.cpp')
-rw-r--r--kabc/vcardformatimpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kabc/vcardformatimpl.cpp b/kabc/vcardformatimpl.cpp
index ae70c434d..8c0b551e5 100644
--- a/kabc/vcardformatimpl.cpp
+++ b/kabc/vcardformatimpl.cpp
@@ -331,8 +331,8 @@ void VCardFormatImpl::saveAddressee( const Addressee &addressee, VCARD::VCard *v
addTextValue( v, EntityCategories, addressee.categories().join(",") );
- addDateValue( v, EntityBirthday, addressee.birthday().date() );
- addDateTimeValue( v, EntityRevision, addressee.revision() );
+ addDateValue( v, EntityBirthday, TQT_TQDATE_OBJECT(addressee.birthday().date()) );
+ addDateTimeValue( v, EntityRevision, TQT_TQDATETIME_OBJECT(addressee.revision()) );
addGeoValue( v, addressee.geo() );
addUTCValue( v, addressee.timeZone() );
@@ -540,11 +540,11 @@ void VCardFormatImpl::addNValue( VCARD::VCard *vcard, const Addressee &a )
ContentLine cl;
cl.setName(EntityTypeToParamName( EntityN ) );
NValue *v = new NValue;
- v->setFamily( a.familyName().utf8() );
- v->setGiven( a.givenName().utf8() );
- v->setMiddle( a.additionalName().utf8() );
- v->setPrefix( a.prefix().utf8() );
- v->setSuffix( a.suffix().utf8() );
+ v->setFamily( TQString(a.familyName()).utf8() );
+ v->setGiven( TQString(a.givenName()).utf8() );
+ v->setMiddle( TQString(a.additionalName()).utf8() );
+ v->setPrefix( TQString(a.prefix()).utf8() );
+ v->setSuffix( TQString(a.suffix()).utf8() );
cl.setValue( v );
vcard->add(cl);