summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Chen <ian.1.chen@nokia.com>2012-06-22 12:13:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-22 07:03:19 +0200
commitee294f06ad734d34c2a7341ecb2cadfe305ab1fc (patch)
treed73e4b6c9d639b364fa382c62c80443fbdf43f55 /src
parent5a9e3bc3308cf6b6afbb7e033231cd007ce2876b (diff)
downloadqtlocation-ee294f06ad734d34c2a7341ecb2cadfe305ab1fc.tar.gz
Minor documentation fixes to declaratives
- map items - qreal -> real Change-Id: I248d3808b29c9fa83bee2ffec83daab64cf7cf06 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/location/declarativeplaces/qdeclarativeratings.cpp4
-rw-r--r--src/imports/location/qdeclarativecirclemapitem.cpp2
-rw-r--r--src/imports/location/qdeclarativegeocircle.cpp2
-rw-r--r--src/imports/location/qdeclarativegeomapitemview.cpp4
-rw-r--r--src/imports/location/qdeclarativegeomapquickitem.cpp2
-rw-r--r--src/imports/location/qdeclarativeposition.cpp4
-rw-r--r--src/imports/location/qdeclarativerectanglemapitem.cpp6
-rw-r--r--src/imports/location/qdeclarativeroutemapitem.cpp3
8 files changed, 15 insertions, 12 deletions
diff --git a/src/imports/location/declarativeplaces/qdeclarativeratings.cpp b/src/imports/location/declarativeplaces/qdeclarativeratings.cpp
index cb5a5cf3..b642a420 100644
--- a/src/imports/location/declarativeplaces/qdeclarativeratings.cpp
+++ b/src/imports/location/declarativeplaces/qdeclarativeratings.cpp
@@ -97,7 +97,7 @@ QPlaceRatings QDeclarativeRatings::ratings() const
}
/*!
- \qmlproperty qreal Ratings::average
+ \qmlproperty real Ratings::average
This property holds the average of the individual ratings.
@@ -117,7 +117,7 @@ qreal QDeclarativeRatings::average() const
}
/*!
- \qmlproperty qreal Ratings::maximum
+ \qmlproperty real Ratings::maximum
This property holds the maximum rating value.
*/
diff --git a/src/imports/location/qdeclarativecirclemapitem.cpp b/src/imports/location/qdeclarativecirclemapitem.cpp
index c39bdaef..c5f03526 100644
--- a/src/imports/location/qdeclarativecirclemapitem.cpp
+++ b/src/imports/location/qdeclarativecirclemapitem.cpp
@@ -287,7 +287,7 @@ QColor QDeclarativeCircleMapItem::color() const
}
/*!
- \qmlproperty qreal MapCircle::radius
+ \qmlproperty real MapCircle::radius
This property holds the radius of the circle, in meters on the ground.
diff --git a/src/imports/location/qdeclarativegeocircle.cpp b/src/imports/location/qdeclarativegeocircle.cpp
index a486e2a7..8b3276af 100644
--- a/src/imports/location/qdeclarativegeocircle.cpp
+++ b/src/imports/location/qdeclarativegeocircle.cpp
@@ -176,7 +176,7 @@ void QDeclarativeGeoCircle::setCenter(QDeclarativeCoordinate *coordinate)
}
/*!
- \qmlproperty qreal GeoCircle::radius
+ \qmlproperty real GeoCircle::radius
This property holds the radius of the bounding circle in meters.
diff --git a/src/imports/location/qdeclarativegeomapitemview.cpp b/src/imports/location/qdeclarativegeomapitemview.cpp
index ddbf21b5..bf8d8386 100644
--- a/src/imports/location/qdeclarativegeomapitemview.cpp
+++ b/src/imports/location/qdeclarativegeomapitemview.cpp
@@ -99,8 +99,8 @@ void QDeclarativeGeoMapItemView::componentComplete()
/*!
\qmlproperty model QtLocation5::MapItemView::model
- This property holds the model that provides data for
- populating data with delegates.
+ This property holds the model that provides data used for
+ creating the map item defined by the delegate.
*/
QVariant QDeclarativeGeoMapItemView::model() const
{
diff --git a/src/imports/location/qdeclarativegeomapquickitem.cpp b/src/imports/location/qdeclarativegeomapquickitem.cpp
index 215032b4..6687175c 100644
--- a/src/imports/location/qdeclarativegeomapquickitem.cpp
+++ b/src/imports/location/qdeclarativegeomapquickitem.cpp
@@ -319,7 +319,7 @@ QPointF QDeclarativeGeoMapQuickItem::anchorPoint() const
}
/*!
- \qmlproperty qreal MapQuickItem::zoomLevel
+ \qmlproperty real MapQuickItem::zoomLevel
This property controls the scaling behaviour of the contents of the
MapQuickItem. In particular, by setting this property it is possible
diff --git a/src/imports/location/qdeclarativeposition.cpp b/src/imports/location/qdeclarativeposition.cpp
index 17a8369a..ab607a33 100644
--- a/src/imports/location/qdeclarativeposition.cpp
+++ b/src/imports/location/qdeclarativeposition.cpp
@@ -242,7 +242,7 @@ double QDeclarativePosition::speed() const
}
/*!
- \qmlproperty qreal Position::horizontalAccuracy
+ \qmlproperty real Position::horizontalAccuracy
This property holds the horizontal accuracy of the coordinate (in meters).
@@ -283,7 +283,7 @@ bool QDeclarativePosition::isHorizontalAccuracyValid() const
}
/*!
- \qmlproperty qreal Position::verticalAccuracy
+ \qmlproperty real Position::verticalAccuracy
This property holds the vertical accuracy of the coordinate (in meters).
diff --git a/src/imports/location/qdeclarativerectanglemapitem.cpp b/src/imports/location/qdeclarativerectanglemapitem.cpp
index 0e1b42e7..e9f110c7 100644
--- a/src/imports/location/qdeclarativerectanglemapitem.cpp
+++ b/src/imports/location/qdeclarativerectanglemapitem.cpp
@@ -219,7 +219,8 @@ QDeclarativeMapLineProperties *QDeclarativeRectangleMapItem::border()
/*!
\qmlproperty Coordinate MapRectangle::topLeft
- Holds the top-left coordinate of the MapRectangle which can be used to retrieve longitude, latitude and altitude of the coordination.
+ This property holds the top-left coordinate of the MapRectangle which
+ can be used to retrieve its longitude, latitude and altitude.
*/
void QDeclarativeRectangleMapItem::setTopLeft(QDeclarativeCoordinate *topLeft)
{
@@ -257,7 +258,8 @@ void QDeclarativeRectangleMapItem::updateMapItemAssumeDirty()
/*!
\qmlproperty Coordinate MapRectangle::bottomRight
- Holds the bottom-right coordinate of the MapRectangle which can be used to retrieve longitude, latitude and altitude of the coordination.
+ This property holds the bottom-right coordinate of the MapRectangle which
+ can be used to retrieve its longitude, latitude and altitude.
*/
void QDeclarativeRectangleMapItem::setBottomRight(QDeclarativeCoordinate *bottomRight)
{
diff --git a/src/imports/location/qdeclarativeroutemapitem.cpp b/src/imports/location/qdeclarativeroutemapitem.cpp
index d168bb79..ebc84803 100644
--- a/src/imports/location/qdeclarativeroutemapitem.cpp
+++ b/src/imports/location/qdeclarativeroutemapitem.cpp
@@ -121,7 +121,8 @@ void QDeclarativeRouteMapItem::setMap(QDeclarativeGeoMap *quickMap, QGeoMap *map
/*!
\qmlproperty Route MapRoute::route
- Holds the route to be drawn which can be used to represents one geographical route.
+ This property holds the route to be drawn which can be used
+ to represent one geographical route.
*/
QDeclarativeGeoRoute *QDeclarativeRouteMapItem::route() const
{