qt5base-lts/tests/auto/gui/kernel
Marc Mutz 4a7c76d4a5 Include what you need: <QPointer>
All these TUs relied on transitive includes of qpointer.h, maybe to a
large extent via qevent.h, though, given that qevent.h is more or less
the only public QtBase header that includes qpointer.h, something else
seems to be at play here.

Said qevent.h actually needs QPointer in-name-only, so a forward
declaration would suffice. Prepare for qevent.h dropping the include.

The algorithm I used was:

If the TU mentions 'passiveGrabbers', the name of the QEvent function
that returns QPointers, and the TU doesn't have qpointer.h included
explicitly, include it. That may produce False Positives, but better
safe than sorry. Otherwise, in src/, add an include to all source and
header files which mention QPointer. Exception: if foo.h of a foo.cpp
already includes it, don't include again.

Task-number: QTBUG-117670
Change-Id: I3321cccdb41ce0ba6d8a709cea92427aba398254
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-10-12 21:38:54 +02:00
..
noqteventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaction CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qactiongroup CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaddpostroutine CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qbackingstore CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qclipboard Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00
qcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qdrag CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfileopenevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguiapplication CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguieventdispatcher QEventDispatcher: test with glib disabled too 2023-08-11 16:45:40 +03:00
qguieventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguimetatype CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguitimer QTimer: extend property tests and fix binding loop 2023-09-03 18:20:51 +02:00
qguivariant CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qhighdpi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputdevice CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputmethod tst_QInputMethod: Don't assume test is the only one calling functions 2023-10-10 19:29:27 +02:00
qkeyevent Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qkeysequence QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string 2023-10-09 15:25:54 +02:00
qmouseevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qmouseevent_modal CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpalette Rename accent color in QPalette 2023-08-18 00:38:38 +02:00
qpixelformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrasterwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qscreen CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qshortcut Add QShortcut test for Qt::ApplicationShortcut 2023-10-04 20:36:53 +02:00
qsurfaceformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtouchevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qwindow xcb: Reflect geometry of foreign window on creation 2023-09-12 16:29:58 +02:00
CMakeLists.txt Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00