summaryrefslogtreecommitdiffstats
path: root/src/location/maps/qgeoroutingmanagerengine_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-01-06 13:44:16 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-07 09:24:21 +0100
commit5e8e9451d1f6c94d0242f60a48e4f154403f6ac1 (patch)
tree73dc6006e921246d214f4f52efa83b31efdfd695 /src/location/maps/qgeoroutingmanagerengine_p.h
parent28e6a10ca23df2f4dd5aee73c902e0bfbec2f6d6 (diff)
Enhance measurement system support in routing manager.
It is useful to be able to set the measurement system independently of the locale used by the routing manager. Add accessor functions for the measurement system to the routing manager classes. Locale and measurement system properties are also added to the RouteModel QML type. Change-Id: I8ee9fbdb5ab94615fef7019914b0f104aebfa9c8 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/maps/qgeoroutingmanagerengine_p.h')
-rw-r--r--src/location/maps/qgeoroutingmanagerengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qgeoroutingmanagerengine_p.h b/src/location/maps/qgeoroutingmanagerengine_p.h
index e868fad8..ad6f8660 100644
--- a/src/location/maps/qgeoroutingmanagerengine_p.h
+++ b/src/location/maps/qgeoroutingmanagerengine_p.h
@@ -77,6 +77,7 @@ public:
QGeoRouteRequest::ManeuverDetails supportedManeuverDetails;
QLocale locale;
+ QLocale::MeasurementSystem measurementSystem;
private:
Q_DISABLE_COPY(QGeoRoutingManagerEnginePrivate)