diff options
Diffstat (limited to 'kabc/scripts/addressee.src.cpp')
-rw-r--r-- | kabc/scripts/addressee.src.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kabc/scripts/addressee.src.cpp b/kabc/scripts/addressee.src.cpp index 887290c8f..1735da995 100644 --- a/kabc/scripts/addressee.src.cpp +++ b/kabc/scripts/addressee.src.cpp @@ -47,6 +47,7 @@ KABC::SortMode *Addressee::mSortMode = 0; struct Addressee::AddresseeData : public KShared { QString uid; + QString uri; --VARIABLES-- PhoneNumber::List phoneNumbers; @@ -180,6 +181,24 @@ QString Addressee::uidLabel() return i18n("Unique Identifier"); } +void Addressee::setUri( const QString &id ) +{ + if ( id == mData->uri ) return; + detach(); + mData->empty = false; + mData->uri = id; +} + +QString Addressee::uri() const +{ + return mData->uri; +} + +QString Addressee::uriLabel() +{ + return i18n("Unique Resource Identifier"); +} + --DEFINITIONS-- void Addressee::setNameFromString( const QString &s ) |