summaryrefslogtreecommitdiff
path: root/src/imports/positioning/locationsingleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/positioning/locationsingleton.cpp')
-rw-r--r--src/imports/positioning/locationsingleton.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/positioning/locationsingleton.cpp b/src/imports/positioning/locationsingleton.cpp
index c4822bff..89b93617 100644
--- a/src/imports/positioning/locationsingleton.cpp
+++ b/src/imports/positioning/locationsingleton.cpp
@@ -234,11 +234,11 @@ QGeoPath LocationSingleton::path(const QJSValue &value, qreal width) const
}
/*!
- \qmlmethod geopath QtPositioning::polygon() const
+ \qmlmethod geopolygon QtPositioning::polygon() const
Constructs an empty polygon.
- \sa {geopath}
+ \sa {geopolygon}
\since 5.10
*/
QGeoPath LocationSingleton::polygon() const
@@ -247,11 +247,11 @@ QGeoPath LocationSingleton::polygon() const
}
/*!
- \qmlmethod geopath QtPositioning::polygon(list<coordinate> coordinates) const
+ \qmlmethod geopolygon QtPositioning::polygon(list<coordinate> coordinates) const
Constructs a polygon from coordinates.
- \sa {geopath}
+ \sa {geopolygon}
\since 5.10
*/
QGeoPath LocationSingleton::polygon(const QVariantList &coordinates) const
@@ -304,11 +304,11 @@ QGeoPath LocationSingleton::shapeToPath(const QGeoShape &shape) const
}
/*!
- \qmlmethod geopath QtPositioning::shapeToPolygon(geoshape shape) const
+ \qmlmethod geopolygon QtPositioning::shapeToPolygon(geoshape shape) const
Converts \a shape to a polygon.
- \sa {geopath}
+ \sa {geopolygon}
\since 5.10
*/
QGeoPolygon LocationSingleton::shapeToPolygon(const QGeoShape &shape) const