diff options
author | Matt Vogt <matthew.vogt@jollamobile.com> | 2014-12-23 08:06:04 +1000 |
---|---|---|
committer | Matthew Vogt <matthew.vogt@qinetic.com.au> | 2015-01-05 04:56:51 +0100 |
commit | 6aa227bcf2d34acff67cebf656df40e308221da8 (patch) | |
tree | 7a9b3b74b5921ed76777d0f6c08df86474dc1157 /src/contacts/qcontactmanagerengine.h | |
parent | f922e68d080136eafb51f760633d84cd5aedf71d (diff) |
PIM ID local components do not need to be human-readable
The PIM ID objects compose two elements: the URI of the manager that
owns them, and a local component meaningful only to that manager. The
URI is composed from human-readable elements and benefits from a
string representation, but the local element has no requirement on
readability, and can consume less storage by using a binary
representation.
Change-Id: I56d553f6d9debf0486310688006b0be8728c1c90
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Diffstat (limited to 'src/contacts/qcontactmanagerengine.h')
-rw-r--r-- | src/contacts/qcontactmanagerengine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contacts/qcontactmanagerengine.h b/src/contacts/qcontactmanagerengine.h index 6e993f8df..c438772d7 100644 --- a/src/contacts/qcontactmanagerengine.h +++ b/src/contacts/qcontactmanagerengine.h @@ -75,7 +75,7 @@ public: inline QString managerUri() const { if (m_uri.isNull()) m_uri = QContactManager::buildUri(managerName(), idInterpretationParameters()); return m_uri; } - inline QContactId contactId(const QString &localId) const + inline QContactId contactId(const QByteArray &localId) const { return QContactId(managerUri(), localId); } /* Filtering */ |