Extend changed signals to optionally report changed types
authorMatt Vogt <matthew.vogt@jollamobile.com>
Thu, 22 May 2014 09:18:55 +0000 (19:18 +1000)
committerMatthew Vogt <matthew.vogt@qinetic.com.au>
Fri, 18 Jul 2014 06:45:20 +0000 (08:45 +0200)
commit3b77fe17a82590627d306d5e58ecd5d83fee7893
tree555f1e48aa66c18e65748805311bdb90e5f1a706
parent69065fa9fd53ea6955537f5b5dad7f5b88ec2071
Extend changed signals to optionally report changed types

Add a parameter to the contactsChanged and itemsChanged signals, which
allow a manager to optionally report the extent of changes involved in
a contact or organizer item modification. If no changes are explicitly
reported by the manager, the receiver must assume that any or all
details of the contacts or organizer items may have been modified.

Change-Id: Ie8a0d051c3f82a5911dea68213d78c2b173e762e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
29 files changed:
src/contacts/qcontactchangeset.cpp
src/contacts/qcontactchangeset.h
src/contacts/qcontactchangeset_p.h
src/contacts/qcontactmanager.cpp
src/contacts/qcontactmanager.h
src/contacts/qcontactmanager_p.cpp
src/contacts/qcontactmanager_p.h
src/contacts/qcontactmanagerengine.cpp
src/contacts/qcontactmanagerengine.h
src/contacts/qcontactobserver.cpp
src/contacts/qcontactobserver.h
src/imports/contacts/qdeclarativecontactmodel.cpp
src/organizer/qorganizeritemchangeset.cpp
src/organizer/qorganizeritemchangeset.h
src/organizer/qorganizeritemchangeset_p.h
src/organizer/qorganizeritemobserver.cpp
src/organizer/qorganizeritemobserver.h
src/organizer/qorganizermanager.cpp
src/organizer/qorganizermanager.h
src/organizer/qorganizermanager_p.cpp
src/organizer/qorganizermanager_p.h
src/organizer/qorganizermanagerengine.cpp
src/organizer/qorganizermanagerengine.h
src/plugins/contacts/memory/qcontactmemorybackend.cpp
src/plugins/organizer/memory/qorganizeritemmemorybackend.cpp
src/plugins/organizer/memory/qorganizeritemmemorybackend_p.h
tests/auto/contacts/qcontactidmock.h
tests/auto/contacts/qcontactmanager/tst_qcontactmanager.cpp
tests/auto/organizer/qorganizermanager/tst_qorganizermanager.cpp