summaryrefslogtreecommitdiffstats
path: root/src/contacts/qcontactmanager.h
diff options
context:
space:
mode:
authorKranthi Kuntala <kranthi.kumar-kuntala@nokia.com>2012-03-13 13:38:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-02 12:05:37 +0200
commitdfebfb1790d432bf8e551b990ac279534ea7edfd (patch)
tree5b27935ee680351eaa8530882ea47d0544f9fdc2 /src/contacts/qcontactmanager.h
parentd59fc09ae98e17523fa02154c58ac797c67e4fe7 (diff)
refactor displayLabel detail in contacts API
-the synthesized display label generated from qcontactmanager is removed -custom label in the name detail has been removed -added a displayLabel detail in c++ api and corresponding bindings in contacts Qml Api -jsondb backend handles displayLabel detail only when it is set in qcontact -The above adaptation is done for versit api , display label is a FN property there -Adapted c++ and qml tests -As a result the only read only property now in qcontact is its Type Change-Id: I0e408dc3f7c62cba9a2f71bac87ff48db840afd1 Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
Diffstat (limited to 'src/contacts/qcontactmanager.h')
-rw-r--r--src/contacts/qcontactmanager.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/contacts/qcontactmanager.h b/src/contacts/qcontactmanager.h
index 1791b5ec3..d3d10f1ef 100644
--- a/src/contacts/qcontactmanager.h
+++ b/src/contacts/qcontactmanager.h
@@ -134,10 +134,6 @@ public:
bool saveContacts(QList<QContact>* contacts, const QList<QContactDetail::DetailType>& typeMask, QMap<int, QContactManager::Error>* errorMap = 0); // Partial save
bool removeContacts(const QList<QContactId>& contactIds, QMap<int, QContactManager::Error>* errorMap = 0); // batch API - remove.
- /* Synthesize the display label of a contact */
- QString synthesizedContactDisplayLabel(const QContact& contact) const;
- void synthesizeContactDisplayLabel(QContact* contact) const;
-
/* "Self" contact id (MyCard) */
bool setSelfContactId(const QContactId& contactId);
QContactId selfContactId() const;