Fix PropertyAnimation doc
authorAlan Alpert <aalpert@blackberry.com>
Fri, 17 May 2013 17:48:28 +0000 (10:48 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 20 May 2013 17:18:56 +0000 (19:18 +0200)
Task-number: QTBUG-31063
Change-Id: I2329f5c92c5985ed4a65a896521ddd3f6649ce2c
Reviewed-by: Bea Lam <bea.lam@jollamobile.com>
src/quick/util/qquickanimation.cpp

index 2f9ca74..c05b254 100644 (file)
@@ -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,