summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-29 11:04:11 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-29 10:16:03 +0000
commitccc35d49e7e8f00c982bb221c82f4e83ba3058bb (patch)
treef3edd364da8ea23bbc2b5477efd1e2c72cd71b67 /src/imports/location/qdeclarativepolygonmapitem.cpp
parentcbb9a5302581fcea7d17e08661fc20429329dd31 (diff)
Document return types for invokable functions in QtLocation QML
Change-Id: I94aa0e16ff316e791f071ed1c299a717d74ce792 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/imports/location/qdeclarativepolygonmapitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp
index d82a6771..0b097edb 100644
--- a/src/imports/location/qdeclarativepolygonmapitem.cpp
+++ b/src/imports/location/qdeclarativepolygonmapitem.cpp
@@ -428,7 +428,7 @@ void QDeclarativePolygonMapItem::setPath(const QJSValue &value)
}
/*!
- \qmlmethod MapPolygon::addCoordinate(coordinate)
+ \qmlmethod void MapPolygon::addCoordinate(coordinate)
Adds a coordinate to the path.
@@ -446,7 +446,7 @@ void QDeclarativePolygonMapItem::addCoordinate(const QGeoCoordinate &coordinate)
}
/*!
- \qmlmethod MapPolygon::removeCoordinate(coordinate)
+ \qmlmethod void MapPolygon::removeCoordinate(coordinate)
Removes a coordinate from the path. If there are multiple instances of the
same coordinate, the one added last is removed.