QUnifiedTimer Class

QUnifiedTimer provides a unified timing mechanism for animations in Qt C++ and QML. \internal. More...

Header: #include <QUnifiedTimer>
Inherits: QObject

Public Functions

bool canUninstallAnimationDriver(QAnimationDriver *d)

Detailed Description

\inmoduleQtCore

QUnifiedTimer allows animations run by Qt to share a single timer. This keeps animations visually in sync, as well as being more efficient than running numerous timers.

QUnifiedTimer drives animations indirectly, via QAbstractAnimationTimer.

Member Function Documentation

bool QUnifiedTimer::canUninstallAnimationDriver(QAnimationDriver *d)

Returns true if d is the currently installed animation driver and is not the default animation driver (which can never be uninstalled).