Make tests compile without gui-private
authorPaul Olav Tvete <paul.tvete@nokia.com>
Thu, 26 Jul 2012 16:48:56 +0000 (18:48 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Aug 2012 15:25:37 +0000 (17:25 +0200)
commit5ac4a1304b44283bb0ddf593b08e7e44ed9a107f
tree632ffbe48e35227ca25faa6797f2e75901e673e6
parent4c4ba15a409737abe7cc07bdc452d556ec9ecbdc
Make tests compile without gui-private

Add new qt_handleXXX functions that forward to the QWindowSystemInterface
functions, and use those in the testlib inline functions. Remove use of
struct QWindowSystemInterface::TouchPoint from the testlib header files
(requiring some slight increase in ugliness in the two tests that use
that struct).

Also remove the qmake hack that adds private headers to all tests

Change-Id: Iec23537e55a44802f6e9cd463f7a0f82007c5250
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
17 files changed:
src/gui/kernel/qwindowsysteminterface.cpp
src/testlib/qtestkeyboard.h
src/testlib/qtestmouse.h
src/testlib/qtesttouch.h
src/testlib/testlib.pro
tests/auto/gui/kernel/qguiapplication/qguiapplication.pro
tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
tests/auto/gui/kernel/qscreen/tst_qscreen.cpp
tests/auto/gui/kernel/qtouchevent/qtouchevent.pro
tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp
tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
tests/auto/other/gestures/gestures.pro
tests/auto/other/gestures/tst_gestures.cpp
tests/auto/other/qaccessibility/qaccessibility.pro
tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
tests/auto/widgets/util/qscroller/qscroller.pro
tests/auto/widgets/util/qscroller/tst_qscroller.cpp