summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeanimation_p.h
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-07-06 13:41:49 (GMT)
committermae <qt-info@nokia.com>2010-07-07 11:47:17 (GMT)
commitcb406a116bf2237c743ac05882fb06927c70359c (patch)
treee3b9bbe6b62793e24ef7edb0b1c13f234032177c /src/declarative/util/qdeclarativeanimation_p.h
parentf5dca266bbf75abe24f39ac8e4d96796529afd77 (diff)
downloadQt-cb406a116bf2237c743ac05882fb06927c70359c.zip
Qt-cb406a116bf2237c743ac05882fb06927c70359c.tar.gz
Qt-cb406a116bf2237c743ac05882fb06927c70359c.tar.bz2
Added QDeclarativeSpringAnimation
The QDeclarativeSpringAnimation is a replacement for QDeclarativeSpringFollow. The idea is to remove the Follows quickly. Follows used to have an inSync property. In order to provide an alternative mechanism, the commit also fixes the running property for animations which are controlled by a behavior. Previously running would always return false and never change. Now running does change and indicates that the animation is running indeed.
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation_p.h')
-rw-r--r--src/declarative/util/qdeclarativeanimation_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeanimation_p.h b/src/declarative/util/qdeclarativeanimation_p.h
index 3f8fbdd..2279b0e 100644
--- a/src/declarative/util/qdeclarativeanimation_p.h
+++ b/src/declarative/util/qdeclarativeanimation_p.h
@@ -134,6 +134,7 @@ public:
private Q_SLOTS:
void timelineComplete();
void componentFinalized();
+ void behaviorControlRunningChanged(bool running);
private:
virtual void setTarget(const QDeclarativeProperty &);