diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-02-19 10:21:43 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-02-25 07:57:27 +0000 |
commit | ebf8bfec10bae10f14e03bee58b23915540490a2 (patch) | |
tree | 5af0de134513ace646648b6a4138b4eb9beb095c /src/location/doc | |
parent | 4ae1f2b90ac318f2683d9474e35b50a37a2e3335 (diff) | |
download | qtlocation-ebf8bfec10bae10f14e03bee58b23915540490a2.tar.gz |
Fix qdoc warnings and similar problems in QtLocation documentation
Change-Id: I382cdb117f6035f2c433cc7e68985fd1a25cf8c9
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Diffstat (limited to 'src/location/doc')
-rw-r--r-- | src/location/doc/src/examples/declarative-places.qdoc | 2 | ||||
-rw-r--r-- | src/location/doc/src/qml-maps.qdoc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/location/doc/src/examples/declarative-places.qdoc b/src/location/doc/src/examples/declarative-places.qdoc index 2fe25de7..f29f53d5 100644 --- a/src/location/doc/src/examples/declarative-places.qdoc +++ b/src/location/doc/src/examples/declarative-places.qdoc @@ -162,7 +162,7 @@ First some of the model's properties are set, which will be used to form the search request. The \l {PlaceSearchModel::searchArea}{searchArea} property is set to the - \e searchRegion object which is a \l GeoCircle with a center that is linked to the current + \e searchRegion object which is a \l [QML]{geocircle} with a center that is linked to the current location displayed on the \l Map. Finally, we define two helper functions \b searchForCategory() and \b {searchForText()}, diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc index 9d75c843..7dbeda3a 100644 --- a/src/location/doc/src/qml-maps.qdoc +++ b/src/location/doc/src/qml-maps.qdoc @@ -72,7 +72,8 @@ to center a \l{Map}{map} on the current position: import QtLocation 5.3 ... - map : Map { + Map { + id: map // initialize map ... } @@ -92,7 +93,7 @@ to center a \l{Map}{map} on the current position: geographical coordinates (latitude and longitude) from other geographical references to the locations. For example, this can be a street address. Reverse geocoding is also possible with a street address being used to determine a geographical coordinate. Geocoding -is performed by using the \l GeoCodeModel type. +is performed by using the \l [QML]{GeocodeModel} type. The following code examples are a small part of the \c map component in the \l {Map Viewer (QML)}{Map Viewer (QML)} example. The snippets |