phonebookui/phonebookservices/src/cntservicecontactfetchview.cpp
changeset 31 2a11b5b00470
parent 27 de1630741fbe
child 40 b46a585f6909
equal deleted inserted replaced
27:de1630741fbe 31:2a11b5b00470
    62     {
    62     {
    63         QContact contact = mListModel->contact(temp.at(i));
    63         QContact contact = mListModel->contact(temp.at(i));
    64         CntServicesContact servicesContact;
    64         CntServicesContact servicesContact;
    65 
    65 
    66         //get the name
    66         //get the name
    67         servicesContact.mDisplayName = mgr->synthesizedDisplayLabel(contact);
    67         servicesContact.mDisplayName = contact.displayLabel();
    68 
    68 
    69         //get the phonenumber
    69         //get the phonenumber
    70         QList<QContactPhoneNumber> phonenumbers = contact.details<QContactPhoneNumber>();
    70         QList<QContactPhoneNumber> phonenumbers = contact.details<QContactPhoneNumber>();
    71         if(phonenumbers.count() > 0)
    71         if(phonenumbers.count() > 0)
    72         {
    72         {