QtPositioning: refactor QGeoAreaMonitorInfo
The following changes were implemented for the class:
- Use QExplicitlySharedDataPointer for private d-ptr instead of
QSharedDataPointer, so that we can have more control over the sharing
behavior.
- Implement move-constructor and move-assignment operator.
The moved-from object is left in partially-formed state. Such
behavior is documented.
- Use Q_DECLARE_SHARED to declare the typeinfo as Q_RELOCATABLE_TYPE
and provide a free swap() overload.
- Provide a qHash() overload.
- Provide a QTest::toString() overload.
Task-number: QTBUG-90491
Change-Id: I8d89dff15d92e6643cf405700db73dc636d38b77
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>