diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-05 14:29:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-09 09:45:07 +0100 |
commit | d23322bf1cdb28a5ad3163a789bb94287b0dfc9d (patch) | |
tree | 1ba2d20ed532b4f2debc63536d063189a54695b8 /src/widgets/widgets/qabstractslider.cpp | |
parent | c7755d33dbf4b26b208487d4336fca7734bbedcf (diff) |
Change QCocoaEventDispatcher timer handling to use QTimerInfoList
This gives us support for the various Qt::TimerTypes.
We only use one CFRunLoopTimer to drive all of the Qt timers. We update
the time-to-fire for this timer as we add/remove/fire Qt timers. The
documentation for the CFRunLoopTimerSetNextFireDate() function says that
this is a valid use case, and is more performant than constantly adding
and removing CFRunLoopTimers. The documentation recommends using a large
interval for this use case (the docs say "several decades", but we use 1
year).
Change-Id: Ie7fd7a845f4254699a5b6a5720e7626f2c5e787f
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qabstractslider.cpp')
0 files changed, 0 insertions, 0 deletions