summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-02-07 17:20:25 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-10 00:43:48 +0100
commitdc99feebd7c7282847ecaf4dd13ee24294fef95e (patch)
treeaebc9e0e86a74d5c4a861d270fad289bf6cc7a15
parented14a2d2654d5de7ff1f8059fe576acf10f66b28 (diff)
downloadqtlocation-dc99feebd7c7282847ecaf4dd13ee24294fef95e.tar.gz
Fix CoordinateAnimation documentation.
The following issues were fixed: * The documentation was declaring that it was it QtLocation instead of QtPositioning. * Remove module prefix from properties. * Change property type to coordinate. * Add since tag. Task-number: QTBUG-36366 Change-Id: I6e3fd81b377f6c9afd188a2695601ab45485d007 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--src/imports/positioning/qdeclarativegeocoordinateanimation.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/imports/positioning/qdeclarativegeocoordinateanimation.cpp b/src/imports/positioning/qdeclarativegeocoordinateanimation.cpp
index df4fee1b..894ba33e 100644
--- a/src/imports/positioning/qdeclarativegeocoordinateanimation.cpp
+++ b/src/imports/positioning/qdeclarativegeocoordinateanimation.cpp
@@ -49,12 +49,12 @@ QT_BEGIN_NAMESPACE
/*!
\qmltype CoordinateAnimation
\instantiates QDeclarativeGeoCoordinateAnimation
+ \inherits PropertyAnimation
+ \inqmlmodule QtPositioning
+ \since 5.3
\brief A PropertyAnimation for geo coordinate properties.
- \inqmlmodule QtLocation 5.0
- \ingroup qml-QtLocation5-maps
-
A specialized \l{PropertyAnimation} that defines an animation
between two geo coordinates.
*/
@@ -73,10 +73,9 @@ QDeclarativeGeoCoordinateAnimation::~QDeclarativeGeoCoordinateAnimation()
}
/*!
- \qmlproperty bool QtLocation5::CoordinateAnimation::from
+ \qmlproperty coordinate CoordinateAnimation::from
This property holds the coordinate where the animation should begin.
*/
-
QGeoCoordinate QDeclarativeGeoCoordinateAnimation::from() const
{
Q_D(const QQuickPropertyAnimation);
@@ -89,10 +88,9 @@ void QDeclarativeGeoCoordinateAnimation::setFrom(const QGeoCoordinate &f)
}
/*!
- \qmlproperty bool QtLocation5::CoordinateAnimation::to
+ \qmlproperty coordinate CoordinateAnimation::to
This property holds the coordinate where the animation should end.
*/
-
QGeoCoordinate QDeclarativeGeoCoordinateAnimation::to() const
{
Q_D(const QQuickPropertyAnimation);