diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-07-29 11:23:01 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-08-03 15:02:26 +0200 |
commit | 9f40dfe98a7d7fc37e267160ce01a8e9dbd2282c (patch) | |
tree | 5444bebe0ceafeb002f100a539083fc64066d261 /src/location/maps/qgeoroutingmanager.h | |
parent | 117d4bf2bd04fb9702938233a00052b965c724a8 (diff) | |
download | qtlocation-9f40dfe98a7d7fc37e267160ce01a8e9dbd2282c.tar.gz |
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>
Diffstat (limited to 'src/location/maps/qgeoroutingmanager.h')
0 files changed, 0 insertions, 0 deletions