summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qabstractanimation.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-05-25 15:02:09 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-05-25 15:02:09 (GMT)
commitac2ea04e516fa7818cb7b4dbe7dd2619cec9fbda (patch)
treec832f0c4e66f3774a8cdb96ac74f9d94d44a007f /src/corelib/animation/qabstractanimation.cpp
parentb6b251cb8b36be434cf878a916c15019fd65b6f0 (diff)
downloadQt-ac2ea04e516fa7818cb7b4dbe7dd2619cec9fbda.zip
Qt-ac2ea04e516fa7818cb7b4dbe7dd2619cec9fbda.tar.gz
Qt-ac2ea04e516fa7818cb7b4dbe7dd2619cec9fbda.tar.bz2
Some refactoring of windows specific code + a private class of animations
Diffstat (limited to 'src/corelib/animation/qabstractanimation.cpp')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index 94a94d1..16307e6 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -188,32 +188,6 @@ void QUnifiedTimer::updateRecentlyStartedAnimations()
animationsToStart.clear();
}
-/*
- defines the timing interval. Default is DEFAULT_TIMER_INTERVAL
-*/
-void QUnifiedTimer::setTimingInterval(int interval)
-{
- timingInterval = interval;
- if (animationTimer.isActive()) {
- //we changed the timing interval
- animationTimer.start(timingInterval, this);
- }
-}
-
-/*
- this allows to have a consistent timer interval at each tick from the timer
- not taking the real time that passed into account.
-*/
-void QUnifiedTimer::setConsistentTiming(bool b)
-{
- consistentTiming = b;
-}
-
-int QUnifiedTimer::elapsedTime() const
-{
- return lastTick;
-}
-
void QUnifiedTimer::timerEvent(QTimerEvent *event)
{
//this is simply the time we last received a tick