summaryrefslogtreecommitdiffstats
path: root/kabc/vcardformatimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/vcardformatimpl.cpp')
-rw-r--r--kabc/vcardformatimpl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kabc/vcardformatimpl.cpp b/kabc/vcardformatimpl.cpp
index cfaccd056..51e6f2eb5 100644
--- a/kabc/vcardformatimpl.cpp
+++ b/kabc/vcardformatimpl.cpp
@@ -137,6 +137,10 @@ bool VCardFormatImpl::loadAddressee( Addressee& addressee, VCARD::VCard &v )
addressee.setUid( readTextValue( cl ) );
break;
+ case EntityURI:
+ addressee.setUri( readTextValue( cl ) );
+ break;
+
case EntityEmail:
addressee.insertEmail( readTextValue( cl ) );
break;
@@ -278,6 +282,7 @@ void VCardFormatImpl::saveAddressee( const Addressee &addressee, VCARD::VCard *v
addTextValue( v, EntityName, addressee.name() );
addTextValue( v, EntityUID, addressee.uid() );
+ addTextValue( v, EntityURI, addressee.uri() );
addTextValue( v, EntityFullName, addressee.formattedName() );
QStringList emails = addressee.emails();