summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativegeocodemodel.cpp
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2012-08-13 10:56:44 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-14 08:44:50 +0200
commitd252559a3e52fb87b7647f90eafb0d172c8aaee6 (patch)
tree6a69011c515f1a3f4a76417483622042d8200bc2 /src/imports/location/qdeclarativegeocodemodel.cpp
parent31e60edde2b7dc7a9508af65cba19d00103b7c8f (diff)
General doc fixes.
Change-Id: I49a343372fdb0f579dd1849d9bb66bcc8f12db7c Reviewed-by: Peter Yard <peter.yard@nokia.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeocodemodel.cpp')
-rw-r--r--src/imports/location/qdeclarativegeocodemodel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/location/qdeclarativegeocodemodel.cpp b/src/imports/location/qdeclarativegeocodemodel.cpp
index 6fc9983a..9ebc3a83 100644
--- a/src/imports/location/qdeclarativegeocodemodel.cpp
+++ b/src/imports/location/qdeclarativegeocodemodel.cpp
@@ -75,13 +75,13 @@ QT_BEGIN_NAMESPACE
be used. By default, autoUpdate is disabled.
The data stored and returned in the GeocodeModel consists of \l{Location}
- elements, as a list with the role name "locationData". See the documentation
+ objects, as a list with the role name "locationData". See the documentation
for \l{Location} for further details on its structure and contents.
\section2 Example Usage
The following snippet is two-part, showing firstly the declaration of
- elements, and secondly a short piece of procedural code using it. We set
+ objects, and secondly a short piece of procedural code using it. We set
the geocodeModel's \l{autoUpdate} property to false, and call \l{update} once
the query is set up. In this case, as we use a string value in \l{query},
only one update would occur, even with autoUpdate enabled. However, if we
@@ -358,7 +358,7 @@ void QDeclarativeGeocodeModel::setBounds(QObject *bounds)
within the area. his is particularly useful if query is only partially filled out,
as the service will attempt to (reverse) geocode all matches for the specified data.
- Accepted element types are \l GeoRectangle and \l GeoCircle.
+ Accepted types are \l BoundingBox and \l BoundingCircle.
*/
@@ -698,10 +698,10 @@ void QDeclarativeGeocodeModel::setQuery(const QVariant &query)
to changes in its attached query. The default value of this property
is false.
- If setting this value to 'true' and using an Address or Coordinate element
- as the query, note that any change at all in the element's properties will
+ If setting this value to 'true' and using an Address or Coordinate type
+ as the query, note that any change at all in the object's properties will
trigger a new request to be sent. If you are adjusting many properties of
- the element whilst autoUpdate is enabled, this can generate large numbers
+ the object whilst autoUpdate is enabled, this can generate large numbers
of useless (and later discarded) requests.
*/