summaryrefslogtreecommitdiffstats
path: root/src/contacts/qcontactmanagerengine.h
diff options
context:
space:
mode:
authorChris Adams <chris.adams@jollamobile.com>2015-11-02 21:08:16 +1000
committerChristopher Adams <chris.adams@jollamobile.com>2015-11-12 01:24:10 +0000
commit480303e8ee89fb1d39b4f00f77559f3021e2ccae (patch)
treed94f0f920082b434ac8c42d33ce1ae6f181ae4d4 /src/contacts/qcontactmanagerengine.h
parent6ff25f70afa5b4cdb84845b29c8b01371b7d3e19 (diff)
QtContacts: detail-leaf-class API improvements
This commit improves the API of various detail leaf classes by adding support for more commonly-required fields. It also fixes the QContactGender class so that the enum definitions are sensible and consistent with the rest of the API. Finally, it adds support for providing per-detail provenance information, to enable the Aggregate/Facet contact story. Change-Id: Idf465f99963d372ec4f0d439cf9f3be8a7823202 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'src/contacts/qcontactmanagerengine.h')
-rw-r--r--src/contacts/qcontactmanagerengine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contacts/qcontactmanagerengine.h b/src/contacts/qcontactmanagerengine.h
index 82079d93a..b7e06f78d 100644
--- a/src/contacts/qcontactmanagerengine.h
+++ b/src/contacts/qcontactmanagerengine.h
@@ -156,6 +156,7 @@ public:
// Other protected area update functions
static void setDetailAccessConstraints(QContactDetail *detail, QContactDetail::AccessConstraints constraints);
static void setContactRelationships(QContact *contact, const QList<QContactRelationship> &relationships);
+ static void setDetailProvenance(QContactDetail *detail, const QString &provenance);
/* Helper functions */
static int compareContact(const QContact &a, const QContact &b, const QList<QContactSortOrder> &sortOrders);