diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-06-03 08:06:20 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-06-03 08:06:20 (GMT) |
commit | 66c24c2efad5c8784b92a7b9872d2732ebd8a446 (patch) | |
tree | 0e2010da243422ffabd0f7d1f9601d62b6d39ab0 /src/declarative/util/qdeclarativeanimation_p_p.h | |
parent | 26d65a844b20a0056820c15188532b3895a3e091 (diff) | |
download | Qt-66c24c2efad5c8784b92a7b9872d2732ebd8a446.zip Qt-66c24c2efad5c8784b92a7b9872d2732ebd8a446.tar.gz Qt-66c24c2efad5c8784b92a7b9872d2732ebd8a446.tar.bz2 |
Add more Q_AUTOTEST_EXPORTs
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation_p_p.h')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation_p_p.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativeanimation_p_p.h b/src/declarative/util/qdeclarativeanimation_p_p.h index 3b0f52e..b6d6bbb 100644 --- a/src/declarative/util/qdeclarativeanimation_p_p.h +++ b/src/declarative/util/qdeclarativeanimation_p_p.h @@ -96,7 +96,7 @@ private: }; //performs an action of type QAbstractAnimationAction -class QActionAnimation : public QAbstractAnimation +class Q_AUTOTEST_EXPORT QActionAnimation : public QAbstractAnimation { Q_OBJECT public: @@ -143,7 +143,7 @@ public: }; //animates QDeclarativeBulkValueUpdater (assumes start and end values will be reals or compatible) -class QDeclarativeBulkValueAnimator : public QVariantAnimation +class Q_AUTOTEST_EXPORT QDeclarativeBulkValueAnimator : public QVariantAnimation { Q_OBJECT public: @@ -378,6 +378,22 @@ public: QList<QDeclarativeItem*> targets; }; +class Q_AUTOTEST_EXPORT QDeclarativeAnimationPropertyUpdater : public QDeclarativeBulkValueUpdater +{ +public: + QDeclarativeStateActions actions; + int interpolatorType; //for Number/ColorAnimation + int prevInterpolatorType; //for generic + QVariantAnimation::Interpolator interpolator; + bool reverse; + bool fromSourced; + bool fromDefined; + bool *wasDeleted; + QDeclarativeAnimationPropertyUpdater() : prevInterpolatorType(0), wasDeleted(0) {} + ~QDeclarativeAnimationPropertyUpdater() { if (wasDeleted) *wasDeleted = true; } + void setValue(qreal v); +}; + QT_END_NAMESPACE #endif // QDECLARATIVEANIMATION_P_H |