summaryrefslogtreecommitdiff
path: root/src/location/labs/qdeclarativenavigator.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-05 03:03:57 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-05 03:03:57 +0200
commitb44858e1e78820ce1139ee656a1892fb12c4799c (patch)
tree25a549413e57e096caa1b3a3b8240c4c91e8d5ec /src/location/labs/qdeclarativenavigator.cpp
parentefdf3c266dce8791b78d1a851b16d2f4dbe8534e (diff)
parent25a220dd7370acdf04ee8f6d2d59f25d81cf42c7 (diff)
downloadqtlocation-b44858e1e78820ce1139ee656a1892fb12c4799c.tar.gz
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I219a1353a21d29177e0cd7f21d64c06a8f28fced
Diffstat (limited to 'src/location/labs/qdeclarativenavigator.cpp')
-rw-r--r--src/location/labs/qdeclarativenavigator.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/location/labs/qdeclarativenavigator.cpp b/src/location/labs/qdeclarativenavigator.cpp
index ae273774..b266779c 100644
--- a/src/location/labs/qdeclarativenavigator.cpp
+++ b/src/location/labs/qdeclarativenavigator.cpp
@@ -158,6 +158,33 @@ QT_BEGIN_NAMESPACE
*/
/*!
+ \qmlproperty bool Qt.labs.location::Navigator::automaticReroutingEnabled
+
+ This property tells whether the Navigator should automatically recalculate
+ the route when the position from \l positionSource ends too far from the route.
+ The operation performed in such case is equivalent to calling \l recalculateRoutes.
+ The default value is \c true.
+
+ \note Whether this property has any effect is plugin-dependent.
+ Also, whether or not it has an effect while the navigator is active is plugin-dependent.
+*/
+
+/*!
+ \qmlproperty bool Qt.labs.location::Navigator::isOnRoute
+
+ While the Navigator is in active tracking mode, this property tells
+ whether the position from \l positionSource is on the route or not.
+*/
+
+/*!
+ \qmlmethod void Qt.labs.location::Navigator::recalculateRoutes()
+
+ Calling this method forces the backend to trigger a routes recalculation.
+
+ \sa automaticReroutingEnabled
+*/
+
+/*!
\qmlproperty enumeration Qt.labs.location::Navigator::error
\readonly