diff options
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeoroutemodel.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroutemodel.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 4be64642..695f6972 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -239,9 +239,9 @@ void QDeclarativeGeoRouteModel::cancel() } /*! - \qmlmethod Route QtLocation::RouteModel::get(int) + \qmlmethod Route QtLocation::RouteModel::get(int index) - Returns the Route at given index. Use \l count property to check the + Returns the Route at given \a index. Use \l count property to check the amount of routes available. The routes are indexed from zero, so the accessible range is 0...(count - 1). @@ -989,9 +989,9 @@ void QDeclarativeGeoRouteQuery::setExcludedAreas(const QJSValue &value) } /*! - \qmlmethod void QtLocation::RouteQuery::addExcludedArea(georectangle) + \qmlmethod void QtLocation::RouteQuery::addExcludedArea(georectangle area) - Adds the given area to excluded areas (areas that the route must not cross). + Adds the given \a area to excluded areas (areas that the route must not cross). Same area can only be added once. \sa removeExcludedArea, clearExcludedAreas @@ -1019,9 +1019,9 @@ void QDeclarativeGeoRouteQuery::addExcludedArea(const QGeoRectangle &area) } /*! - \qmlmethod void QtLocation::RouteQuery::removeExcludedArea(georectangle) + \qmlmethod void QtLocation::RouteQuery::removeExcludedArea(georectangle area) - Removes the given area to excluded areas (areas that the route must not cross). + Removes the given \a area from excluded areas (areas that the route must not cross). \sa addExcludedArea, clearExcludedAreas */ @@ -1115,9 +1115,9 @@ void QDeclarativeGeoRouteQuery::addWaypoint(const QVariant &waypoint) /*! \qmlmethod void QtLocation::RouteQuery::removeWaypoint(coordinate) - Removes the given from the list of waypoints. In case same coordinate - appears multiple times, the most recently added coordinate instance is - removed. + Removes the given \a coordinate from the list of waypoints. If the same + coordinate appears multiple times, the most recently added coordinate + instance is removed. \sa addWaypoint, clearWaypoints */ @@ -1193,9 +1193,9 @@ void QDeclarativeGeoRouteQuery::flushWaypoints(QList<QDeclarativeGeoWaypoint *> } /*! - \qmlmethod void QtLocation::RouteQuery::setFeatureWeight(FeatureType, FeatureWeight) + \qmlmethod void QtLocation::RouteQuery::setFeatureWeight(FeatureType feature, FeatureWeight weight) - Defines the weight to associate with a feature during the planning of a + Defines the \a weight to associate with a \a feature during the planning of a route. Following lists the possible feature weights: |