diff options
author | Cristiano di Flora <cristiano.di-flora@nokia.com> | 2011-10-31 17:02:18 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-25 20:10:42 +0100 |
commit | ade72a2b68618623bc76f0bb0dc2c6c9f48783dc (patch) | |
tree | b3f380d8438c1fe72aa1340bc87d70482e6d4caa /src/contacts/qcontactmanager.h | |
parent | 43010ddbb4021dd9fbb83f9c4941bc843490ec64 (diff) |
Adding new ExtendedDetail detail.
- consider any unknown detail as extended detail in json2qcontact conversion
- JsonDb internal (reserved) keys are skipped properly (i.e., keys starting with "_")
- schema handling / detail definition removed
- remove documentation of mutable definition mechanism
- remove documentation of schema handling mechanisms
- remove obsolete code from code snippets
- remove qcontactdetaildefinition auto tests
- remove detailDefinition tests from several auto tests
- add cpp autotests and qml tests
- Bool, int, uint, qlonglong, qulonglong, double and QChar
supported in extended details
- string conversion for date in UTC format for extended details
- support for embedded variantlists and maps in extended details
Change-Id: I0d9d9c8b3f31376934b64217db3c4be4c9284160
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
Diffstat (limited to 'src/contacts/qcontactmanager.h')
-rw-r--r-- | src/contacts/qcontactmanager.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/contacts/qcontactmanager.h b/src/contacts/qcontactmanager.h index 765250b73..b3731f36c 100644 --- a/src/contacts/qcontactmanager.h +++ b/src/contacts/qcontactmanager.h @@ -160,17 +160,10 @@ public: bool removeRelationship(const QContactRelationship& relationship); bool removeRelationships(const QList<QContactRelationship>& relationships, QMap<int, QContactManager::Error>* errorMap = 0); - /* Definitions - Accessors and Mutators */ - QMap<QString, QContactDetailDefinition> detailDefinitions(const QString& contactType = QContactType::TypeContact) const; - QContactDetailDefinition detailDefinition(const QString& definitionName, const QString& contactType = QContactType::TypeContact) const; - bool saveDetailDefinition(const QContactDetailDefinition& def, const QString& contactType = QContactType::TypeContact); - bool removeDetailDefinition(const QString& definitionName, const QString& contactType = QContactType::TypeContact); - /* Functionality reporting */ enum ManagerFeature { Groups = 0, // backend supports QContactType::TypeGroup type contacts (convenience for clients) ActionPreferences, // per-contact action preferences - MutableDefinitions, Relationships, ArbitraryRelationshipTypes, DetailOrdering, |