Modernize and clean up QGeoRoute(Leg)


Implement move semantics for QGeoRoute, make operators hidden friends,
and add noexcept to non-allocating functions.

Remove default-implemented constructors, operators, and destructor from
QGeoRouteLeg. That class would ideally go away so that we don't have to
subclass the QGeoRoute value type at all. The leg-data lives either way
in the QGeoRoutePrivate(Default), so making the design so that a route
can be a list of routes would remove the need for the Leg class.

However, that has repercussions to the QML types, tests, documentation
etc, and needs to be discussed further.

Pick-to: 6.2
Task-number: QTBUG-105206
Change-Id: I4c451a74fbf42e06b1580df46bbccca4b0de1723
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
commit9f40dfe98a7d7fc37e267160ce01a8e9dbd2282c
parent117d4bf2bd04fb9702938233a00052b965c724a8
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeWed, 3 Aug 2022 15:02:26 +0200