QtPositioning: convert streaming operators to hidden friends
This patch changes all streaming operators in QtPositioning to
hidden friends, so that they can be found only by ADL and do not
pollute the global namespace.
It also updates couple of tests to make sure that we cover the
streaming operators with test cases.
Task-number: QTBUG-95163
Pick-to: 6.2
Change-Id: Ie78b31301d9fb6f658e82114d9637b197e72710a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| commit | 2bf5bf8caf01311eac9218a31af27f82bfc063d6 |
| parent | 4fc52ffe0b236f7f15841d881102f8b485d50df7 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Mon, 19 Jul 2021 13:45:56 +0200 |
- M src/positioning/qgeoareamonitorinfo.cpp
- M src/positioning/qgeoareamonitorinfo.h
- M src/positioning/qgeocoordinate.cpp
- M src/positioning/qgeocoordinate.h
- M src/positioning/qgeopositioninfo.cpp
- M src/positioning/qgeopositioninfo.h
- M src/positioning/qgeosatelliteinfo.cpp
- M src/positioning/qgeosatelliteinfo.h
- M src/positioning/qgeoshape.cpp
- M src/positioning/qgeoshape.h
- M tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp
- M tests/auto/qgeoshape/tst_qgeoshape.cpp