Cleanup: QPlaceContent and subclasses (3/3)
Remove the dedicated declarative model implementations for the special
QPlaceContent types. Since everyhing is now a QPlaceContent, the generic
model can return all the data, depending on which QPlaceContent::Type it
has been created for.
For QML clients, nothing changes.
Change-Id: I7c8c02dc5986f4223b8f112dc5766ce073a41a4d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | f47ca3c977f6431f36973f4cf60bee64ac4930ef |
| parent | 34e64b8bb4e54185d3235a9d8cd15cd446eb20c1 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Thu, 22 Sep 2022 18:08:49 +0200 |
- M src/imports/location/location.cpp
- M src/location/CMakeLists.txt
- M src/location/declarativeplaces/qdeclarativeplace.cpp
- M src/location/declarativeplaces/qdeclarativeplace_p.h
- M src/location/declarativeplaces/qdeclarativeplacecontentmodel.cpp
- M src/location/declarativeplaces/qdeclarativeplacecontentmodel_p.h
- D src/location/declarativeplaces/qdeclarativeplaceeditorialmodel.cpp
- D src/location/declarativeplaces/qdeclarativeplaceeditorialmodel_p.h
- D src/location/declarativeplaces/qdeclarativeplaceimagemodel.cpp
- D src/location/declarativeplaces/qdeclarativeplaceimagemodel_p.h
- D src/location/declarativeplaces/qdeclarativereviewmodel.cpp
- D src/location/declarativeplaces/qdeclarativereviewmodel_p.h
- M tests/auto/declarative_location_core/CMakeLists.txt