Eradicate Java-style iterators and mark the module free of them
... and of QLinkedList
Java-style iterators are going to be deprecated, or at the very least
banned from use in Qt code. Ditto QLinkedList.
Unfortunately, the module contains more than 120 uses of Q_FOREACH,
even though, according to my sources, its use was banned in Qt
implementation from the get-go. So QT_NO_FOREACH is currently not an
option.
Change-Id: I0f05e9c78dda259b0eac1bcdfc7dddfcddc4b908
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| commit | 44757c534b950e2fca2d56d0ab4228b4123cf080 |
| parent | 266e6a3269ab16846de3d6cbce39aa226d45934c |
| author | Marc Mutz <marc.mutz@kdab.com> |
| committer | Marc Mutz <marc.mutz@kdab.com> |
| commit time | Sat, 3 Aug 2019 21:05:14 +0300 |
- M .qmake.conf
- M src/location/declarativeplaces/qdeclarativeplacecontentmodel.cpp
- M src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
- M src/location/doc/snippets/places/requesthandler.h
- M src/location/places/qplace.cpp
- M tests/auto/geotestplugin/qplacemanagerengine_test.h
- M tests/auto/nokia_services/places_semiauto/tst_places.cpp
- M tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp