Qt 4.8
Public Functions | Static Public Functions | Protected Functions | Private Functions | Properties | Friends | List of all members
QUnifiedTimer Class Reference

#include <qabstractanimation_p.h>

Inheritance diagram for QUnifiedTimer:
QObject

Public Functions

void installAnimationDriver (QAnimationDriver *driver)
 
void restartAnimationTimer ()
 
int runningAnimationCount ()
 
void setConsistentTiming (bool consistent)
 
void setSlowdownFactor (qreal factor)
 
void setSlowModeEnabled (bool enabled)
 
void setTimingInterval (int interval)
 
void updateAnimationsTime ()
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Static Public Functions

static void ensureTimerUpdate ()
 
static QUnifiedTimerinstance ()
 
static QUnifiedTimerinstance (bool create)
 
static void registerAnimation (QAbstractAnimation *animation, bool isTopLevel)
 
static void unregisterAnimation (QAbstractAnimation *animation)
 
static void updateAnimationTimer ()
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 

Protected Functions

void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 

Private Functions

int closestPauseAnimationTimeToFinish ()
 
 QUnifiedTimer ()
 
void registerRunningAnimation (QAbstractAnimation *animation)
 
void unregisterRunningAnimation (QAbstractAnimation *animation)
 

Properties

QList< QAbstractAnimation * > animations
 
QList< QAbstractAnimation * > animationsToStart
 
QBasicTimer animationTimer
 
bool consistentTiming
 
int currentAnimationIdx
 
QDefaultAnimationDriver defaultDriver
 
QAnimationDriverdriver
 
bool insideTick
 
bool isPauseTimerActive
 
qint64 lastTick
 
int runningLeafAnimations
 
QList< QAbstractAnimation * > runningPauseAnimations
 
qreal slowdownFactor
 
bool slowMode
 
QBasicTimer startStopAnimationTimer
 
ElapsedTimer time
 
int timingInterval
 

Friends

class QDefaultAnimationDriver
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 
- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 144 of file qabstractanimation_p.h.

Constructors and Destructors

◆ QUnifiedTimer()

QUnifiedTimer::QUnifiedTimer ( )
private

Definition at line 183 of file qabstractanimation.cpp.

Referenced by instance().

183  :
185  currentAnimationIdx(0), insideTick(false), consistentTiming(false), slowMode(false),
187 {
188  time.invalidate();
190 }
QDefaultAnimationDriver defaultDriver
QAnimationDriver * driver
#define DEFAULT_TIMER_INTERVAL
void invalidate()
Marks this QElapsedTimer object as invalid.
Q_INVOKABLE QObject(QObject *parent=0)
Constructs an object with parent object parent.
Definition: qobject.cpp:753

Functions

◆ closestPauseAnimationTimeToFinish()

int QUnifiedTimer::closestPauseAnimationTimeToFinish ( )
private

Definition at line 390 of file qabstractanimation.cpp.

Referenced by restartAnimationTimer().

391 {
392  int closestTimeToFinish = INT_MAX;
393  for (int i = 0; i < runningPauseAnimations.size(); ++i) {
395  int timeToFinish;
396 
397  if (animation->direction() == QAbstractAnimation::Forward)
398  timeToFinish = animation->duration() - animation->currentLoopTime();
399  else
400  timeToFinish = animation->currentLoopTime();
401 
402  if (timeToFinish < closestTimeToFinish)
403  closestTimeToFinish = timeToFinish;
404  }
405  return closestTimeToFinish;
406 }
int currentLoopTime() const
Returns the current time inside the current loop.
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
The QAbstractAnimation class is the base of all animations.
Direction direction
the direction of the animation when it is in Running state.
int size() const
Returns the number of items in the list.
Definition: qlist.h:137
QList< QAbstractAnimation * > runningPauseAnimations
#define INT_MAX
int duration
the duration of the animation.

◆ ensureTimerUpdate()

void QUnifiedTimer::ensureTimerUpdate ( )
static

Definition at line 215 of file qabstractanimation.cpp.

Referenced by QAbstractAnimation::setDirection(), and QAbstractAnimationPrivate::setState().

216 {
217  QUnifiedTimer *inst = QUnifiedTimer::instance(false);
218  if (inst && inst->isPauseTimerActive)
219  inst->updateAnimationsTime();
220 }
static QUnifiedTimer * instance()

◆ installAnimationDriver()

void QUnifiedTimer::installAnimationDriver ( QAnimationDriver driver)

Definition at line 408 of file qabstractanimation.cpp.

Referenced by QAnimationDriver::install().

409 {
410  if (driver) {
411 
412  if (driver->isRunning()) {
413  qWarning("QUnifiedTimer: Cannot change animation driver while animations are running");
414  return;
415  }
416 
417  if (driver != &defaultDriver)
418  delete driver;
419  }
420 
421  driver = d;
422 }
double d
Definition: qnumeric_p.h:62
QDefaultAnimationDriver defaultDriver
QAnimationDriver * driver
Q_CORE_EXPORT void qWarning(const char *,...)

◆ instance() [1/2]

QUnifiedTimer * QUnifiedTimer::instance ( )
static

◆ instance() [2/2]

QUnifiedTimer * QUnifiedTimer::instance ( bool  create)
static

Definition at line 193 of file qabstractanimation.cpp.

194 {
195  QUnifiedTimer *inst;
196 #ifndef QT_NO_THREAD
197  if (create && !unifiedTimer()->hasLocalData()) {
198  inst = new QUnifiedTimer;
199  unifiedTimer()->setLocalData(inst);
200  } else {
201  inst = unifiedTimer()->localData();
202  }
203 #else
204  static QUnifiedTimer unifiedTimer;
205  inst = &unifiedTimer;
206 #endif
207  return inst;
208 }
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)

◆ registerAnimation()

void QUnifiedTimer::registerAnimation ( QAbstractAnimation animation,
bool  isTopLevel 
)
static

Definition at line 326 of file qabstractanimation.cpp.

Referenced by QAbstractAnimationPrivate::setState().

327 {
328  QUnifiedTimer *inst = instance(true); //we create the instance if needed
329  inst->registerRunningAnimation(animation);
330  if (isTopLevel) {
331  Q_ASSERT(!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer);
333  inst->animationsToStart << animation;
334  if (!inst->startStopAnimationTimer.isActive())
336  }
337 }
bool isActive() const
Returns true if the timer is running and has not been stopped; otherwise returns false.
Definition: qbasictimer.h:62
static QAbstractAnimationPrivate * get(QAbstractAnimation *q)
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define STARTSTOP_TIMER_DELAY
QList< QAbstractAnimation * > animationsToStart
QBasicTimer startStopAnimationTimer
void registerRunningAnimation(QAbstractAnimation *animation)
static QUnifiedTimer * instance()
void start(int msec, QObject *obj)
Starts (or restarts) the timer with a msec milliseconds timeout.

◆ registerRunningAnimation()

void QUnifiedTimer::registerRunningAnimation ( QAbstractAnimation animation)
private

Definition at line 367 of file qabstractanimation.cpp.

Referenced by registerAnimation().

368 {
369  if (QAbstractAnimationPrivate::get(animation)->isGroup)
370  return;
371 
372  if (QAbstractAnimationPrivate::get(animation)->isPause) {
373  runningPauseAnimations << animation;
374  } else
376 }
static QAbstractAnimationPrivate * get(QAbstractAnimation *q)
QList< QAbstractAnimation * > runningPauseAnimations

◆ restartAnimationTimer()

void QUnifiedTimer::restartAnimationTimer ( )

Definition at line 264 of file qabstractanimation.cpp.

Referenced by QAnimationDriver::advance(), timerEvent(), and updateAnimationTimer().

265 {
267  int closestTimeToFinish = closestPauseAnimationTimeToFinish();
268  if (closestTimeToFinish < 0) {
271  }
272  driver->stop();
273  animationTimer.start(closestTimeToFinish, this);
274  isPauseTimerActive = true;
275  } else if (!driver->isRunning() || isPauseTimerActive) {
276  driver->start();
277  isPauseTimerActive = false;
278  } else if (runningLeafAnimations == 0)
279  driver->stop();
280 }
int closestPauseAnimationTimeToFinish()
QAnimationDriver * driver
QBasicTimer animationTimer
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
Definition: qlist.h:152
Q_CORE_EXPORT void qDebug(const char *,...)
QList< QAbstractAnimation * > runningPauseAnimations
void start(int msec, QObject *obj)
Starts (or restarts) the timer with a msec milliseconds timeout.

◆ runningAnimationCount()

int QUnifiedTimer::runningAnimationCount ( )
inline

Definition at line 188 of file qabstractanimation_p.h.

188 { return animations.count(); }
int count(const T &t) const
Returns the number of occurrences of value in the list.
Definition: qlist.h:891
QList< QAbstractAnimation * > animations

◆ setConsistentTiming()

void QUnifiedTimer::setConsistentTiming ( bool  consistent)
inline

Definition at line 164 of file qabstractanimation_p.h.

164 { consistentTiming = consistent; }

◆ setSlowdownFactor()

void QUnifiedTimer::setSlowdownFactor ( qreal  factor)
inline

Definition at line 168 of file qabstractanimation_p.h.

Referenced by QDeclarativeDebugHelper::setAnimationSlowDownFactor().

168 { slowdownFactor = factor; }

◆ setSlowModeEnabled()

void QUnifiedTimer::setSlowModeEnabled ( bool  enabled)
inline

Definition at line 167 of file qabstractanimation_p.h.

Referenced by QDeclarativeDebugHelper::setAnimationSlowDownFactor().

167 { slowMode = enabled; }
#define enabled

◆ setTimingInterval()

void QUnifiedTimer::setTimingInterval ( int  interval)

Definition at line 282 of file qabstractanimation.cpp.

283 {
284  timingInterval = interval;
285 
286  if (driver->isRunning() && !isPauseTimerActive) {
287  //we changed the timing interval
288  driver->stop();
289  driver->start();
290  }
291 }
QAnimationDriver * driver

◆ timerEvent()

void QUnifiedTimer::timerEvent ( QTimerEvent event)
protectedvirtual

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers. The timer event is passed in the event parameter.

See also
startTimer(), killTimer(), event()

Reimplemented from QObject.

Definition at line 294 of file qabstractanimation.cpp.

295 {
296  //in the case of consistent timing we make sure the orders in which events come is always the same
297  //for that purpose we do as if the startstoptimer would always fire before the animation timer
299  event->timerId() == startStopAnimationTimer.timerId()) {
301 
302  //we transfer the waiting animations into the "really running" state
305  if (animations.isEmpty()) {
307  isPauseTimerActive = false;
308  // invalidate the start reference time
309  time.invalidate();
310  } else {
312  if (!time.isValid()) {
313  lastTick = 0;
314  time.start();
315  }
316  }
317  }
318 
319  if (event->timerId() == animationTimer.timerId()) {
320  // update current time on all top level animations
323  }
324 }
bool isActive() const
Returns true if the timer is running and has not been stopped; otherwise returns false.
Definition: qbasictimer.h:62
bool isValid() const
Returns false if this object was invalidated by a call to invalidate() and has not been restarted sin...
QBasicTimer animationTimer
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
Definition: qlist.h:152
QList< QAbstractAnimation * > animationsToStart
QBasicTimer startStopAnimationTimer
int timerId() const
Returns the unique timer identifier, which is the same identifier as returned from QObject::startTime...
Definition: qcoreevent.h:346
void invalidate()
Marks this QElapsedTimer object as invalid.
QList< QAbstractAnimation * > animations
void clear()
Removes all items from the list.
Definition: qlist.h:764
void stop()
Stops the timer.
int timerId() const
Returns the timer&#39;s ID.
Definition: qbasictimer.h:63
void start()
Starts this timer.

◆ unregisterAnimation()

void QUnifiedTimer::unregisterAnimation ( QAbstractAnimation animation)
static

Definition at line 339 of file qabstractanimation.cpp.

Referenced by QAbstractAnimationPrivate::setState(), and QAbstractAnimation::~QAbstractAnimation().

340 {
341  QUnifiedTimer *inst = QUnifiedTimer::instance(false);
342  if (inst) {
343  //at this point the unified timer should have been created
344  //but it might also have been already destroyed in case the application is shutting down
345 
346  inst->unregisterRunningAnimation(animation);
347 
348  if (!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer)
349  return;
350 
351  int idx = inst->animations.indexOf(animation);
352  if (idx != -1) {
353  inst->animations.removeAt(idx);
354  // this is needed if we unregister an animation while its running
355  if (idx <= inst->currentAnimationIdx)
356  --inst->currentAnimationIdx;
357 
358  if (inst->animations.isEmpty() && !inst->startStopAnimationTimer.isActive())
360  } else {
361  inst->animationsToStart.removeOne(animation);
362  }
363  }
365 }
void unregisterRunningAnimation(QAbstractAnimation *animation)
bool isActive() const
Returns true if the timer is running and has not been stopped; otherwise returns false.
Definition: qbasictimer.h:62
static QAbstractAnimationPrivate * get(QAbstractAnimation *q)
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
Definition: qlist.h:152
bool removeOne(const T &t)
Removes the first occurrence of value in the list and returns true on success; otherwise returns fals...
Definition: qlist.h:796
#define STARTSTOP_TIMER_DELAY
QList< QAbstractAnimation * > animationsToStart
QBasicTimer startStopAnimationTimer
QList< QAbstractAnimation * > animations
int indexOf(const T &t, int from=0) const
Returns the index position of the first occurrence of value in the list, searching forward from index...
Definition: qlist.h:847
static QUnifiedTimer * instance()
void start(int msec, QObject *obj)
Starts (or restarts) the timer with a msec milliseconds timeout.
void removeAt(int i)
Removes the item at index position i.
Definition: qlist.h:480

◆ unregisterRunningAnimation()

void QUnifiedTimer::unregisterRunningAnimation ( QAbstractAnimation animation)
private

Definition at line 378 of file qabstractanimation.cpp.

Referenced by unregisterAnimation().

379 {
380  if (QAbstractAnimationPrivate::get(animation)->isGroup)
381  return;
382 
383  if (QAbstractAnimationPrivate::get(animation)->isPause)
385  else
388 }
static QAbstractAnimationPrivate * get(QAbstractAnimation *q)
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
bool removeOne(const T &t)
Removes the first occurrence of value in the list and returns true on success; otherwise returns fals...
Definition: qlist.h:796
QList< QAbstractAnimation * > runningPauseAnimations

◆ updateAnimationsTime()

void QUnifiedTimer::updateAnimationsTime ( )

Definition at line 222 of file qabstractanimation.cpp.

Referenced by QAnimationDriver::advance(), ensureTimerUpdate(), and timerEvent().

223 {
224  //setCurrentTime can get this called again while we're the for loop. At least with pauseAnimations
225  if(insideTick)
226  return;
227 
228  qint64 totalElapsed = time.elapsed();
229  // ignore consistentTiming in case the pause timer is active
230  int delta = (consistentTiming && !isPauseTimerActive) ?
231  timingInterval : totalElapsed - lastTick;
232  if (slowMode) {
233  if (slowdownFactor > 0)
234  delta = qRound(delta / slowdownFactor);
235  else
236  delta = 0;
237  }
238 
239  lastTick = totalElapsed;
240 
241  //we make sure we only call update time if the time has actually changed
242  //it might happen in some cases that the time doesn't change because events are delayed
243  //when the CPU load is high
244  if (delta) {
245  insideTick = true;
249  + (animation->direction() == QAbstractAnimation::Forward ? delta : -delta);
250  animation->setCurrentTime(elapsed);
251  }
252  insideTick = false;
254  }
255 }
static double elapsed(qint64 after, qint64 before)
static QAbstractAnimationPrivate * get(QAbstractAnimation *q)
int count(const T &t) const
Returns the number of occurrences of value in the list.
Definition: qlist.h:891
qint64 elapsed() const
Returns the number of milliseconds since this QElapsedTimer was last started.
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
QList< QAbstractAnimation * > animations
__int64 qint64
Definition: qglobal.h:942
The QAbstractAnimation class is the base of all animations.
Direction direction
the direction of the animation when it is in Running state.
void setCurrentTime(int msecs)
Q_DECL_CONSTEXPR int qRound(qreal d)
Definition: qglobal.h:1203

◆ updateAnimationTimer()

void QUnifiedTimer::updateAnimationTimer ( )
static

Definition at line 257 of file qabstractanimation.cpp.

Referenced by QAbstractAnimation::setDirection().

258 {
259  QUnifiedTimer *inst = QUnifiedTimer::instance(false);
260  if (inst)
261  inst->restartAnimationTimer();
262 }
static QUnifiedTimer * instance()

Friends and Related Functions

◆ QDefaultAnimationDriver

Definition at line 194 of file qabstractanimation_p.h.

Properties

◆ animations

QList<QAbstractAnimation*> QUnifiedTimer::animations
private

Definition at line 220 of file qabstractanimation_p.h.

Referenced by timerEvent(), unregisterAnimation(), and updateAnimationsTime().

◆ animationsToStart

QList<QAbstractAnimation*> QUnifiedTimer::animationsToStart
private

Definition at line 220 of file qabstractanimation_p.h.

Referenced by registerAnimation(), timerEvent(), and unregisterAnimation().

◆ animationTimer

QBasicTimer QUnifiedTimer::animationTimer
private

Definition at line 199 of file qabstractanimation_p.h.

Referenced by restartAnimationTimer(), and timerEvent().

◆ consistentTiming

bool QUnifiedTimer::consistentTiming
private

Definition at line 209 of file qabstractanimation_p.h.

Referenced by timerEvent(), and updateAnimationsTime().

◆ currentAnimationIdx

int QUnifiedTimer::currentAnimationIdx
private

Definition at line 207 of file qabstractanimation_p.h.

Referenced by unregisterAnimation(), and updateAnimationsTime().

◆ defaultDriver

QDefaultAnimationDriver QUnifiedTimer::defaultDriver
private

Definition at line 197 of file qabstractanimation_p.h.

Referenced by installAnimationDriver(), and QUnifiedTimer().

◆ driver

QAnimationDriver* QUnifiedTimer::driver
private

◆ insideTick

bool QUnifiedTimer::insideTick
private

Definition at line 208 of file qabstractanimation_p.h.

Referenced by updateAnimationsTime().

◆ isPauseTimerActive

bool QUnifiedTimer::isPauseTimerActive
private

◆ lastTick

qint64 QUnifiedTimer::lastTick
private

Definition at line 205 of file qabstractanimation_p.h.

Referenced by timerEvent(), and updateAnimationsTime().

◆ runningLeafAnimations

int QUnifiedTimer::runningLeafAnimations
private

◆ runningPauseAnimations

QList<QAbstractAnimation*> QUnifiedTimer::runningPauseAnimations
private

◆ slowdownFactor

qreal QUnifiedTimer::slowdownFactor
private

Definition at line 215 of file qabstractanimation_p.h.

Referenced by updateAnimationsTime().

◆ slowMode

bool QUnifiedTimer::slowMode
private

Definition at line 210 of file qabstractanimation_p.h.

Referenced by updateAnimationsTime().

◆ startStopAnimationTimer

QBasicTimer QUnifiedTimer::startStopAnimationTimer
private

Definition at line 201 of file qabstractanimation_p.h.

Referenced by registerAnimation(), timerEvent(), and unregisterAnimation().

◆ time

ElapsedTimer QUnifiedTimer::time
private

Definition at line 203 of file qabstractanimation_p.h.

Referenced by QUnifiedTimer(), timerEvent(), and updateAnimationsTime().

◆ timingInterval

int QUnifiedTimer::timingInterval
private

The documentation for this class was generated from the following files: