qt5base-lts/src/gui
Frederik Gladhorn b2ec0da956 Cache QAccessibleInterfaces.
Since there already is a one-to-one relationship
between QObject and QAccessibleInterface it makes
little sense to create and destroy the interfaces
on each call to queryAccessibleInterface.

Add a cache and keep created interfaces around for
the lifetime of the corresponding QObject.

This changes the memory management rules: accessible
interfaces must no longer be deleted. If you get an
QAccessibleIntrface pointer that pointer will stay
valid as long as the corresponding QObject is not
deleted.

This also re-enables accessibility for Mac.

We limit the range of the IDs so that they are
useable for Windows directly.
That means we can get rid of the event cache there.

This is based on: Iebf2f374916fc70a9dd29e95f45a6444b85f6cee

Change-Id: I9fe6531812c0dbc5b41101ac05830a6dd75e13a3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
2013-04-02 14:32:25 +02:00
..
accessible Cache QAccessibleInterfaces. 2013-04-02 14:32:25 +02:00
animation Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
doc Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
image Fix missing devicePixelRatio propagation on copy. 2013-03-29 09:47:32 +01:00
itemmodels Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
kernel Add qDebug() output for QTouchEvent. 2013-03-27 13:19:59 +01:00
math3d Doc: Corrected a typo in the constructor documentation. 2013-03-27 13:24:44 +01:00
opengl Fix build on iOS by using QOPENGLF_APIENTRY intead of APIENTRY directly 2013-03-19 10:36:01 +01:00
painting Remove unused private members 2013-03-23 01:56:06 +01:00
text Fix reporting writing systems for non-TrueType fonts 2013-04-01 21:33:29 +02:00
util Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-01-29 11:33:35 +01:00
gui.pro Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00