diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-10-01 13:06:49 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-10-31 13:06:40 +0000 |
commit | 3e7b02e1501599fb69a7c79e44bd59365679d0e9 (patch) | |
tree | fcb0ff33e5eb6f7178bfbf72fb13475748f570c2 | |
parent | 28e19fbf8657942830d8464467be10a4872f5c64 (diff) | |
download | qtlocation-3e7b02e1501599fb69a7c79e44bd59365679d0e9.tar.gz |
Fix more 5.14 QML API inconsistencies
Change-Id: Ia2dac783ce05bd87888b73b4225d133ada04af79
Fixes: QTBUG-78690
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/location/labs/qdeclarativenavigator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/location/labs/qdeclarativenavigator.cpp b/src/location/labs/qdeclarativenavigator.cpp index b266779c..a4caca85 100644 --- a/src/location/labs/qdeclarativenavigator.cpp +++ b/src/location/labs/qdeclarativenavigator.cpp @@ -590,6 +590,7 @@ QDeclarativeNavigationBasicDirections::QDeclarativeNavigationBasicDirections(QDe \qmlproperty Route Qt.labs.location::Navigator::directions.currentRoute \qmlproperty RouteLeg Qt.labs.location::Navigator::directions.currentRouteLeg \qmlproperty int Qt.labs.location::Navigator::directions.currentSegment + \qmlproperty model Qt.labs.location::Navigator::directions.alternativeRoutes These read-only properties are part of the \e directions property group. This property group holds the navigation progress information that can be @@ -628,6 +629,8 @@ QDeclarativeNavigationBasicDirections::QDeclarativeNavigationBasicDirections(QDe holds the same route as \c currentRoute. \li The \c currentSegment property holds the index of the current RouteSegment in the \c currentRoute. + \li The \c alternativeRoutes property holds the list of alternative routes provided by + the engine. If no alternative routes are present, the model will be empty. \endlist \sa directions.waypointReached(), directions.destinationReached(), Route, RouteLeg, RouteSegment, Waypoint |