diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-04 14:40:28 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-04 14:43:24 (GMT) |
commit | 3ac785411d860e48e14f6b2542b666a6d508cff1 (patch) | |
tree | 6f01357f5d7317db6bafb611d9cef2002054f07a /tests/benchmarks | |
parent | ff1bd9c821aa1e314d6ca738204cdd0ae60a8369 (diff) | |
download | Qt-3ac785411d860e48e14f6b2542b666a6d508cff1.zip Qt-3ac785411d860e48e14f6b2542b666a6d508cff1.tar.gz Qt-3ac785411d860e48e14f6b2542b666a6d508cff1.tar.bz2 |
Result API review with Jasmin
QAbstractAnimation:
currentTime returns the "complete" current time
currentLoopTime() returns the time inside the current loop
add setPaused(bool) for consistency with QTimeLine
stateChanged: newState passed as first paramater (before oldState)
for consistency with the reset of Qt
QAnimationGroup:
rename clearAnimations to clear
rename insertAnimationAt to insertAnimation
rename takeAnimationAt to takeAnimation
QSequentialAnimationGroup:
rename insertPauseAt to insertPause
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/qanimation/rectanimation.cpp | 5 | ||||
-rw-r--r-- | tests/benchmarks/qanimation/rectanimation.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/benchmarks/qanimation/rectanimation.cpp b/tests/benchmarks/qanimation/rectanimation.cpp index ab381f4..88eec4d 100644 --- a/tests/benchmarks/qanimation/rectanimation.cpp +++ b/tests/benchmarks/qanimation/rectanimation.cpp @@ -92,8 +92,3 @@ void RectAnimation::updateCurrentTime(int currentTime) if (m_object) m_object->setRect(m_current); } - -void RectAnimation::updateState(QAbstractAnimation::State state) -{ - Q_UNUSED(state); -} diff --git a/tests/benchmarks/qanimation/rectanimation.h b/tests/benchmarks/qanimation/rectanimation.h index ea1f804..38a6f48 100644 --- a/tests/benchmarks/qanimation/rectanimation.h +++ b/tests/benchmarks/qanimation/rectanimation.h @@ -59,7 +59,6 @@ public: int duration() const; virtual void updateCurrentTime(int currentTime); - virtual void updateState(QAbstractAnimation::State state); private: DummyObject *m_object; |