qt6-bb10/tests/auto
Volker Hilsheimer bcaff2b06f Remove QGuiAction again and split QAction implementation up instead
Duplicating the number of classes is a high price to pay to be able to
have some QAction functionality behave differently, or be only available
in widgets applications.

Instead, declare the entire API in QtGui in QAction* classes, and
delegate the implementation of QtWidgets specific functionality to
the private. The creation of the private is then delegated to the
Q(Gui)ApplicationPrivate instance through a virtual factory function.

Change some public APIs that are primarily useful for specialized tools
such as Designer to operate on QObject* rather than QWidget*. APIs that
depend on QtWidgets types have been turned into inline template
functions, so that they are instantiated only at the caller side, where
we can expect the respective types to be fully defined. This way, we
only need to forward declare a few classes in the header, and don't
need to generate any additional code for e.g. language bindings.

Change-Id: Id0b27f9187652ec531a2e8b1b9837e82dc81625c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-03-29 11:18:57 +01:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake Remove qt6_use_modules 2020-03-25 08:39:43 +01:00
concurrent QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
corelib Make QPropertyBindingPrivate accessible to QtQml 2020-03-27 13:29:47 +01:00
dbus New QMetaType representation 2020-02-20 16:11:02 +01:00
gui Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
guiapplauncher
installed_cmake
network CMake: Regenerate and fix qtcpsocket test 2020-03-18 16:36:26 +01:00
opengl Merge remote-tracking branch 'origin/5.15' into dev 2020-03-11 15:34:21 +01:00
other cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql tst_sqlquery: Skip datetime test if no database drivers are available 2020-03-23 13:09:00 +01:00
testlib Restructure testlib selftest project 2020-03-24 21:04:43 +01:00
tools Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
widgets Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
auto.pro Disable tests with qemu-arm & developer-build configurations in the CI 2019-10-03 15:12:33 +00:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00