summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlanimation_p.h
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-04-29 14:57:46 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-04-30 09:31:53 (GMT)
commit5b15e629641281dd87197b22bd4d0dc5dc7c89e1 (patch)
treee0fb174cc8124a836aaf656204dbcf477f5fdf43 /src/declarative/util/qmlanimation_p.h
parent2e71dc6b97dfa0f8193162019da326aa32291d5e (diff)
downloadQt-5b15e629641281dd87197b22bd4d0dc5dc7c89e1.zip
Qt-5b15e629641281dd87197b22bd4d0dc5dc7c89e1.tar.gz
Qt-5b15e629641281dd87197b22bd4d0dc5dc7c89e1.tar.bz2
Using QVariant for 'to' and 'from' values in QmlVariantAnimationPrivate
The 'to' and 'from' attiributes in QmlVariantAnimationPrivate were QmlNullableValue before, but we can query QVariant::isValid for the same purpose.
Diffstat (limited to 'src/declarative/util/qmlanimation_p.h')
-rw-r--r--src/declarative/util/qmlanimation_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlanimation_p.h b/src/declarative/util/qmlanimation_p.h
index 0ef89f4..4fcaa47 100644
--- a/src/declarative/util/qmlanimation_p.h
+++ b/src/declarative/util/qmlanimation_p.h
@@ -354,8 +354,8 @@ public:
void init();
- QmlNullableValue<QVariant> from;
- QmlNullableValue<QVariant> to;
+ QVariant from;
+ QVariant to;
QString easing;
@@ -364,7 +364,7 @@ public:
QList<QObject *> exclude;
bool fromSourced;
- QVariant fromValue;
+
QmlTimeLineValueAnimator *va;
virtual void valueChanged(qreal);