Register QPlaceContactDetail as a QML value type
Make QPlaceContactDetail a gadget, and register it as a value type with
the QML engine. Remove declarative wrapper, and consolidate the
documentation.
Adjust the tests and remove tests that verify that the type behaves like
an object. Initialize contactDetail properties as a grouped property.
The QDeclarativeContactDetails implementation of QQmlPropertyMap has to
stay, so rename the sources accordingly.
Change-Id: I473d29405963bbe594cd5f26168a237c189d1d3e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| commit | f170e6edbd6960abd8bc0b269118211c515c8587 |
| parent | 38fb82bfef8f5a599ee374958a20b9d271002c88 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Thu, 15 Sep 2022 18:22:17 +0200 |
- M src/imports/location/location.cpp
- M src/imports/location/location.h
- M src/location/CMakeLists.txt
- R054 src/location/declarativeplaces/qdeclarativecontactdetail.cpp
- R071 src/location/declarativeplaces/qdeclarativecontactdetail_p.h
- M src/location/declarativeplaces/qdeclarativeplace.cpp
- M src/location/declarativeplaces/qdeclarativeplace_p.h
- M src/location/places/qplacecontactdetail.cpp
- M src/location/places/qplacecontactdetail.h
- M tests/auto/declarative_location_core/tst_contactdetail.qml
- M tests/auto/declarative_location_core/tst_place.qml
- M tests/auto/qmlinterface/data/TestContactDetail.qml