aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@blackberry.com>2013-05-17 10:48:28 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-20 19:18:56 +0200
commit3c38d825b670b3f0c69ffd85c02feb54ea5f3181 (patch)
tree149648bee438235640d34b8750d1b6a87c1294d3 /src/quick
parent4d173d5f16c103f640d4089feed44a74b14e9004 (diff)
Fix PropertyAnimation doc
Task-number: QTBUG-31063 Change-Id: I2329f5c92c5985ed4a65a896521ddd3f6649ce2c Reviewed-by: Bea Lam <bea.lam@jollamobile.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/util/qquickanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/util/qquickanimation.cpp b/src/quick/util/qquickanimation.cpp
index 2f9ca7409f..c05b254b51 100644
--- a/src/quick/util/qquickanimation.cpp
+++ b/src/quick/util/qquickanimation.cpp
@@ -1975,7 +1975,7 @@ void QQuickPropertyAnimation::setDuration(int duration)
}
/*!
- \qmlproperty real QtQuick2::PropertyAnimation::from
+ \qmlproperty variant QtQuick2::PropertyAnimation::from
This property holds the starting value for the animation.
If the PropertyAnimation is defined within a \l Transition or \l Behavior,
@@ -2002,7 +2002,7 @@ void QQuickPropertyAnimation::setFrom(const QVariant &f)
}
/*!
- \qmlproperty real QtQuick2::PropertyAnimation::to
+ \qmlproperty variant QtQuick2::PropertyAnimation::to
This property holds the end value for the animation.
If the PropertyAnimation is defined within a \l Transition or \l Behavior,