diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-05-30 17:03:25 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-05-31 07:45:24 +0000 |
commit | 5c957221d0cca19a27abc9781c20c24f1c32030b (patch) | |
tree | 85c911e733d41327db79b8f33afeb4837d1287f6 /src/location/declarativemaps | |
parent | 31c594d25b22204afced1832aab1c654bb9d8137 (diff) | |
download | qtlocation-5c957221d0cca19a27abc9781c20c24f1c32030b.tar.gz |
Fix documentation for return types from QJSValue to the actual QML type
Change-Id: I6db1f0db07de3bb9446f0b04ea95f34b56acf805
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroute.cpp b/src/location/declarativemaps/qdeclarativegeoroute.cpp index bce0af80..039b1297 100644 --- a/src/location/declarativemaps/qdeclarativegeoroute.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroute.cpp @@ -147,7 +147,7 @@ qreal QDeclarativeGeoRoute::distance() const } /*! - \qmlproperty QJSValue QtLocation::Route::path + \qmlproperty list<coordinate> QtLocation::Route::path Read-only property which holds the geographical coordinates of this route. Coordinates are listed in the order in which they would be traversed by someone diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 1947531f..94bd63c8 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -764,7 +764,7 @@ void QDeclarativeGeoRouteQuery::setNumberAlternativeRoutes(int numberAlternative } /*! - \qmlproperty QJSValue RouteQuery::waypoints + \qmlproperty list<coordinate> RouteQuery::waypoints The waypoint coordinates of the desired route. diff --git a/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp b/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp index 77a8a41a..dbeaa62c 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp @@ -128,7 +128,7 @@ QDeclarativeGeoManeuver *QDeclarativeGeoRouteSegment::maneuver() const } /*! - \qmlproperty QJSValue QtLocation::RouteSegment::path + \qmlproperty list<coordinate> QtLocation::RouteSegment::path Read-only property which holds the geographical coordinates of this segment. Coordinates are listed in the order in which they would be traversed by someone |