Enable incremental updates in PlaceSearchModel
This way pages can be changed without resetting the model.
To achieve this, new members into QPlaceSearchRequestPrivate
are introduced, to keep the relationship between a request
for one page, and the previous or the next page.
In this way sparse population of the model becomes possible.
Change-Id: Ic8db0281408f3500ba83f78c7e152ee0b68cd099
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | f8df5799b68fcb8690462b6dce226e6ce9bac282 |
| parent | 5ccc595db4e9282f6a58f8712550eda935a6eecb |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Thu, 5 Jul 2018 06:09:56 +0000 |
- M src/imports/location/location.cpp
- M src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
- M src/location/declarativeplaces/qdeclarativesearchresultmodel_p.h
- M src/location/places/places.pri
- M src/location/places/qplacesearchrequest.cpp
- M src/location/places/qplacesearchrequest.h
- A src/location/places/qplacesearchrequest_p.h
- M src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp
- M src/plugins/geoservices/osm/qplacemanagerengineosm.cpp
- M src/plugins/geoservices/osm/qplacesearchreplyosm.cpp