diff options
Diffstat (limited to 'doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp')
| -rw-r--r-- | doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp b/doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp index f403eea31c..2bf55cf918 100644 --- a/doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp +++ b/doc/src/snippets/qtcontactsdocsample/qtcontactsdocsample.cpp @@ -155,7 +155,7 @@ void matchCall(QContactManager* cm, const QString& incomingCallNbr) QContact match = cm->contact(matchingContacts.at(0)); QContactDisplayLabel cdl = match.detail(QContactDisplayLabel::DefinitionName); if (cdl.isEmpty()) - cdl.setLabel(cm->synthesiseDisplayLabel(match)); + cdl.setLabel(cm->synthesizeDisplayLabel(match)); qDebug() << "Incoming call from" << cdl.label() << "(" << incomingCallNbr << ")"; @@ -170,7 +170,7 @@ void viewSpecificDetail(QContactManager* cm) QContact a = cm->contact(contactIds.first()); QContactDisplayLabel cdl = a.detail(QContactDisplayLabel::DefinitionName); if (cdl.isEmpty()) - cdl.setLabel(cm->synthesiseDisplayLabel(a)); + cdl.setLabel(cm->synthesizeDisplayLabel(a)); qDebug() << "The first phone number of" << cdl.label() << "is" << a.detail(QContactPhoneNumber::DefinitionName).value(QContactPhoneNumber::FieldNumber); } @@ -183,7 +183,7 @@ void viewDetails(QContactManager* cm) QContact a = cm->contact(contactIds.first()); QContactDisplayLabel cdl = a.detail(QContactDisplayLabel::DefinitionName); if (cdl.isEmpty()) - cdl.setLabel(cm->synthesiseDisplayLabel(a)); + cdl.setLabel(cm->synthesizeDisplayLabel(a)); qDebug() << "Viewing the details of" << cdl.label(); QList<QContactDetail> allDetails = a.details(); @@ -232,7 +232,7 @@ void editView(QContactManager* cm) QContact a = cm->contact(contactIds.first()); QContactDisplayLabel cdl = a.detail(QContactDisplayLabel::DefinitionName); if (cdl.isEmpty()) - cdl.setLabel(cm->synthesiseDisplayLabel(a)); + cdl.setLabel(cm->synthesizeDisplayLabel(a)); qDebug() << "Modifying the details of" << cdl.label(); /* Change the first phone number */ @@ -306,7 +306,7 @@ void loadManager() QContact a = cm->contact(contactIds.first()); QContactDisplayLabel cdl = a.detail(QContactDisplayLabel::DefinitionName); if (cdl.isEmpty()) - cdl.setLabel(cm->synthesiseDisplayLabel(a)); + cdl.setLabel(cm->synthesizeDisplayLabel(a)); qDebug() << "This manager contains" << cdl.label(); } else { qDebug() << "This manager contains no contacts"; |
