summaryrefslogtreecommitdiff
path: root/src/imports/positioning/locationsingleton.cpp
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-12-06 13:29:28 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-12-11 00:13:28 +0000
commitd8ddf70b4bb43ef52786090e287498f0829c1b11 (patch)
tree0ff824dd3546a6741a7e2fd99b7ef349b31aff26 /src/imports/positioning/locationsingleton.cpp
parentf364284e2a7e52bf31eb6ed7fbaff1e7c43ebee6 (diff)
downloadqtlocation-d8ddf70b4bb43ef52786090e287498f0829c1b11.tar.gz
Fix LocationSingleton::path documentation
Documentation for the overload was missing. Change-Id: Ie852661ca34ed93a62ad0ca7bf6b0b9adac72d8a Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/imports/positioning/locationsingleton.cpp')
-rw-r--r--src/imports/positioning/locationsingleton.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imports/positioning/locationsingleton.cpp b/src/imports/positioning/locationsingleton.cpp
index e355851e..8f810d94 100644
--- a/src/imports/positioning/locationsingleton.cpp
+++ b/src/imports/positioning/locationsingleton.cpp
@@ -214,6 +214,14 @@ QGeoPath LocationSingleton::path() const
return QGeoPath();
}
+/*!
+ \qmlmethod geopath QtPositioning::path(list<coordinate> coordinates, real width) const
+
+ Constructs a geopath from coordinates and width.
+
+ \sa {geopath}
+ \since 5.9
+*/
QGeoPath LocationSingleton::path(const QJSValue &value, qreal width) const
{
QList<QGeoCoordinate> pathList;