Register QPlaceUser as a QML value type
Make QPlaceUser a gadget, and register it as a value type with the QML
engine. Remove declarative wrapper, and consolidate the documentation.
Adjust the tests, remove tests that test that the type is not a value.
Use grouped properties initialization syntax in QML for now.
Change-Id: I0c840911316590b7ba103e26fa99d824bb9e39c5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| commit | 1732bdf40518194d0ee5e0f009de3409dce6280d |
| parent | 734799d9f88c2383be87806d4931799b6f6a843a |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Wed, 14 Sep 2022 13:19:51 +0200 |
- M src/imports/location/location.cpp
- M src/imports/location/location.h
- M src/location/CMakeLists.txt
- M src/location/declarativeplaces/qdeclarativeplacecontentmodel.cpp
- M src/location/declarativeplaces/qdeclarativeplacecontentmodel_p.h
- D src/location/declarativeplaces/qdeclarativeplaceuser.cpp
- D src/location/declarativeplaces/qdeclarativeplaceuser_p.h
- M src/location/places/qplaceuser.cpp
- M src/location/places/qplaceuser.h
- M tests/auto/declarative_location_core/tst_user.qml
- M tests/auto/qmlinterface/data/TestUser.qml