Go to file
Bradley T. Hughes da47d70c32 QCocoaEventDispatcherPrivate members should not be static
Keep the Cocoa event dispatcher's private data as normal members of
QCocoaEventDispatcherPrivate. This removes the global initializers for
the macTimerHash and cocoaModalSessionStask as well.

To keep timers working, we pass a pointer to the timer's MacTimerInfo
struct to the callback, instead of just the timer id. The MacTimerInfo
needs to keep a pointer back to the QCocoaEventDispatcherPrivate to get
access to the private's members.

Change-Id: Ic3a61e5e1d1d82030735de73cf0b0c70a13c21a4
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
2012-01-05 11:40:08 +01:00
bin Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
config.tests Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
dist Removed obsolete function QUuid::operator QString() 2012-01-05 02:17:04 +01:00
doc/src Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
examples Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qmake Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
src QCocoaEventDispatcherPrivate members should not be static 2012-01-05 11:40:08 +01:00
tests Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
tools Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
util Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add V8 snapshot support 2011-11-22 13:10:56 +01:00
.gitmodules Add QtV8 library to QtBase 2011-08-29 10:16:01 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
configure.exe Rebuild configure.exe. 2011-12-21 22:58:56 +01:00
header.BSD Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.FDL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL-ONLY Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Ensure qmodule.pri is installed. 2011-11-23 00:12:03 +01:00
sync.profile Fix source incompatibility for QVariant{Map, Hash, List} 2011-11-14 18:41:17 +01:00