-rw-r--r-- | kabc/field.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/field.cpp b/kabc/field.cpp index fd51026..20885de 100644 --- a/kabc/field.cpp +++ b/kabc/field.cpp | |||
@@ -289,15 +289,15 @@ QString Field::value( const KABC::Addressee &a ) | |||
289 | case FieldImpl::Category: | 289 | case FieldImpl::Category: |
290 | return a.categories().join(","); | 290 | return a.categories().join(","); |
291 | case FieldImpl::HomePhone: | 291 | case FieldImpl::HomePhone: |
292 | return a.phoneNumber( PhoneNumber::Home ).number(); | 292 | return a.phoneNumber( PhoneNumber::Home| PhoneNumber::Pref ).number(); |
293 | case FieldImpl::BusinessPhone: | 293 | case FieldImpl::BusinessPhone: |
294 | return a.phoneNumber( PhoneNumber::Work ).number(); | 294 | return a.phoneNumber( PhoneNumber::Work| PhoneNumber::Pref ).number(); |
295 | case FieldImpl::MobilePhone: | 295 | case FieldImpl::MobilePhone: |
296 | return a.phoneNumber( PhoneNumber::Cell ).number(); | 296 | return a.phoneNumber( PhoneNumber::Cell ).number(); |
297 | case FieldImpl::MobileWorkPhone: | 297 | case FieldImpl::MobileWorkPhone: |
298 | return a.phoneNumber( PhoneNumber::Cell | PhoneNumber::Work ).number(); | 298 | return a.phoneNumber( PhoneNumber::Car ).number(); |
299 | case FieldImpl::MobileHomePhone: | 299 | case FieldImpl::MobileHomePhone: |
300 | return a.phoneNumber( PhoneNumber::Cell | PhoneNumber::Home ).number(); | 300 | return a.phoneNumber( PhoneNumber::Cell ).number(); |
301 | case FieldImpl::HomeFax: | 301 | case FieldImpl::HomeFax: |
302 | return a.phoneNumber( PhoneNumber::Home | PhoneNumber::Fax ).number(); | 302 | return a.phoneNumber( PhoneNumber::Home | PhoneNumber::Fax ).number(); |
303 | case FieldImpl::BusinessFax: | 303 | case FieldImpl::BusinessFax: |
@@ -309,7 +309,7 @@ QString Field::value( const KABC::Addressee &a ) | |||
309 | case FieldImpl::Pager: | 309 | case FieldImpl::Pager: |
310 | return a.phoneNumber( PhoneNumber::Pager ).number(); | 310 | return a.phoneNumber( PhoneNumber::Pager ).number(); |
311 | case FieldImpl::Sip: | 311 | case FieldImpl::Sip: |
312 | return a.phoneNumber( PhoneNumber::Sip ).number(); | 312 | return a.phoneNumber( PhoneNumber::Pcs | PhoneNumber::Pref ).number(); |
313 | case FieldImpl::HomeAddressStreet: | 313 | case FieldImpl::HomeAddressStreet: |
314 | return a.address( Address::Home ).street(); | 314 | return a.address( Address::Home ).street(); |
315 | case FieldImpl::HomeAddressLocality: | 315 | case FieldImpl::HomeAddressLocality: |