qt5base-lts/tests/auto
Laszlo Agocs 3064c1bc8c Remove redundant touch processing in QtGui and widgets.
The duplicated hash tables in QGuiApplicationPrivate and
QApplicationPrivate are now unified into one single hash table in
QGuiApplicationPrivate. This also reduced the number of lookups.

The extra processing needed to keep the touch points' first/lastPos
values in sync is now done only once, in QGuiApplication. This
eliminates the performance penalty (for widget-based apps) that was
introduced during the QPA migration.

As an added bonus the patch adds support for touch events arriving
simultaenously from multiple devices. This was broken before: As there
is no guarantee that two devices/drivers will not send touch points
with the same ID, using structures with only the ID as key is
wrong. The proper key is composed of the device ID (that is, a
QTouchDevice pointer) and the touch point ID.

The exported internal function qt_translateRawTouchEvent() has been
removed. This function cannot work properly in the QPA world: It
injected touches into the widget subsystem (QApplication) only which
is wrong, and would result in half-filled touch events due to not
routing the injected data through QGuiApplication. Autotests using
this function are migrated to
QWindowSystemInterface::handleTouchEvent().

Change-Id: I7632781d77f9e0ac4626fd7c9933511c94492156
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
2011-12-14 13:17:19 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib QObject-test: Reorganize subprocess. 2011-12-14 07:07:09 +01:00
dbus Fix stack overwrite in QDBusDemarshaller 2011-11-23 19:14:12 +01:00
gui Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Remove QtWidgets dependency from QTcpSocket autotest 2011-12-09 12:25:14 +01:00
opengl Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
other Extend touch events. 2011-12-09 14:15:37 +01:00
sql Check driver validity before using it 2011-12-12 10:43:44 +01:00
testlib Fix testlib selftests on shadow build. 2011-12-14 07:15:46 +01:00
tools Revert "Add QObject::objectNameChanged(const QString &objectName) signal" 2011-12-02 06:03:12 +01:00
v8 qtbase tests: Fix some warnings 2011-11-21 09:58:23 +01:00
widgets Remove redundant touch processing in QtGui and widgets. 2011-12-14 13:17:19 +01:00
xml Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
auto.pro Re-enable 'check' target for tests/auto/gui on Mac OS X 2011-12-09 02:39:06 +01:00
network-settings.h Fix sanity check of network test server 2011-11-28 08:13:41 +01:00
platformquirks.h Remove unused PlatformQuirks functions. 2011-11-05 02:31:07 +01:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00