summaryrefslogtreecommitdiff
path: root/src/location
diff options
context:
space:
mode:
Diffstat (limited to 'src/location')
-rw-r--r--src/location/declarativemaps/qdeclarativegeoroutemodel.cpp22
-rw-r--r--src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp4
-rw-r--r--src/location/doc/qtlocation.qdocconf2
-rw-r--r--src/location/labs/qdeclarativenavigator.cpp9
-rw-r--r--src/location/labs/qgeojson.cpp14
5 files changed, 25 insertions, 26 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp
index bbfa9b57..910e7026 100644
--- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp
+++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp
@@ -244,7 +244,7 @@ void QDeclarativeGeoRouteModel::cancel()
/*!
\qmlmethod Route QtLocation::RouteModel::get(int index)
- Returns the Route at the specified index \a int. Use the \l count
+ Returns the Route at the specified \a index. Use the \l count
property to check the amount of routes available. The routes
are indexed from zero, so the accessible range is 0...(count - 1).
@@ -995,7 +995,7 @@ void QDeclarativeGeoRouteQuery::setExcludedAreas(const QJSValue &value)
/*!
\qmlmethod void QtLocation::RouteQuery::addExcludedArea(georectangle area)
- Adds the specified \a georectangle from the excluded areas
+ Adds the specified georectangle \a area to the excluded areas
(areas that the route must not cross).
The same area can only be added once.
@@ -1200,25 +1200,29 @@ void QDeclarativeGeoRouteQuery::flushWaypoints(QList<QDeclarativeGeoWaypoint *>
/*!
\qmlmethod void QtLocation::RouteQuery::setFeatureWeight(FeatureType feature, FeatureWeight weight)
- Defines the weight (\a FeatureWeight) to associate with a feature
- (\a FeatureType) during the planning of a route.
+ Defines the \a weight to associate with a \a feature during the planning
+ of a route.
Following lists the possible feature weights:
\value RouteQuery.NeutralFeatureWeight
- The presence or absence of the feature will not affect the planning of the route
+ The presence or absence of the feature does not affect the planning of the
+ route
\value RouteQuery.PreferFeatureWeight
- Routes which contain the feature will be preferred over those that do not
+ Routes which contain the feature are preferred over those that do not
\value RouteQuery.RequireFeatureWeight
- Only routes which contain the feature will be considered, otherwise no route will be returned
+ Only routes which contain the feature are considered, otherwise no
+ route will be returned
\value RouteQuery.AvoidFeatureWeight
- Routes which do not contain the feature will be preferred over those that do
+ Routes which do not contain the feature are preferred over those that
+ do
\value RouteQuery.DisallowFeatureWeight
- Only routes which do not contain the feature will be considered, otherwise no route will be returned
+ Only routes which do not contain the feature are considered, otherwise
+ no route will be returned
\sa featureTypes, resetFeatureWeights, featureWeight
diff --git a/src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp b/src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp
index 7810dc74..483a5992 100644
--- a/src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp
+++ b/src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp
@@ -42,7 +42,7 @@ QT_BEGIN_NAMESPACE
/*!
\qmltype Plugin
- \instantiates QDeclarativeGeoServiceProvider
+ //! \instantiates QDeclarativeGeoServiceProvider
\inqmlmodule QtLocation
\ingroup qml-QtLocation5-common
\since QtLocation 5.5
@@ -866,7 +866,7 @@ bool QDeclarativeGeoServiceProviderRequirements::operator == (const QDeclarative
/*!
\qmltype PluginParameter
- \instantiates QDeclarativePluginParameter
+ //! \instantiates QDeclarativePluginParameter
\inqmlmodule QtLocation
\ingroup qml-QtLocation5-common
\since QtLocation 5.5
diff --git a/src/location/doc/qtlocation.qdocconf b/src/location/doc/qtlocation.qdocconf
index e5cf230b..0ffbe4d6 100644
--- a/src/location/doc/qtlocation.qdocconf
+++ b/src/location/doc/qtlocation.qdocconf
@@ -33,7 +33,7 @@ qhp.QtLocation.subprojects.examples.selectors = fake:example
tagfile = ../../../doc/qtlocation/qtlocation.tags
-depends += qtcore qtdoc qtgui qtquick qtqml qtnetwork qtpositioning qtquickcontrols qtlinguist
+depends += qtcore qtdoc qtgui qtquick qtqml qtnetwork qtpositioning qtquickcontrols qtlinguist qtxmlpatterns
headerdirs += .. \
../../imports/location
diff --git a/src/location/labs/qdeclarativenavigator.cpp b/src/location/labs/qdeclarativenavigator.cpp
index a4caca85..69f450f3 100644
--- a/src/location/labs/qdeclarativenavigator.cpp
+++ b/src/location/labs/qdeclarativenavigator.cpp
@@ -101,15 +101,10 @@ QT_BEGIN_NAMESPACE
/*!
\qmlproperty Route Qt.labs.location::Navigator::route
- This property holds the Route that the navigator is supposed to use
+ This property holds the Route that the navigator is using
to perform the navigation.
- \note
- This property is not necessarily the same as \l currentRoute.
- currentRoute may differ, during routing, for various reasons.
- It is reasonable to assume, however, that currentRoute's destination
- will be the same as route's destination.
- Setting this property while a navigation session is ongoing will
+ \note Setting this property while a navigation session is ongoing will
stop the navigation.
\sa Route
diff --git a/src/location/labs/qgeojson.cpp b/src/location/labs/qgeojson.cpp
index f7f37661..151091ca 100644
--- a/src/location/labs/qgeojson.cpp
+++ b/src/location/labs/qgeojson.cpp
@@ -65,7 +65,7 @@ QT_BEGIN_NAMESPACE
\section2 Importing GeoJSON
- The method \l importGeoJson accepts a \l
+ The importGeoJson() method accepts a \l
{http://doc.qt.io/qt-5/qjsondocument.html} {QJsonDocument} from which it
extracts a single \l {https://tools.ietf.org/html/rfc7159} {JSON} object,
since the GeoJSON RFC expects that a valid GeoJSON Document has in its root
@@ -503,9 +503,9 @@ QT_BEGIN_NAMESPACE
\section2 Exporting GeoJSON
- The exporter accepts the QVariantList returned by \l {The importer}, and
- returns a JSON document. The exporter is complementary to the importer
- because it executes the inverse action.
+ The exporter accepts the QVariantList returned by the \l {Importing GeoJSON}
+ {importer}, and returns a JSON document. The exporter is complementary to
+ the importer because it executes the inverse action.
\section2 The toString function
@@ -1231,9 +1231,9 @@ QString printQvariant(const QVariant v, int tabs = 0) {
}
/*!
-This method accepts the QVariantLists structured like described in section \l
-{Importing GeoJSON}, and returns a string containing the same data in a
-readable form.
+ This method accepts the QVariantList \a geoData, structured as described in
+ \l {Importing GeoJSON}, and returns a string containing the same data in a
+ readable form.
*/
QString QGeoJson::toString(const QVariantList &geoData) {
return printQvariant(geoData.first(), 0);