qt5base-lts/tests/manual/cocoa/menurama
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
..
CMakeLists.txt Convert all of tests/manual 2019-11-14 09:03:26 +00:00
main.cpp Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
mainwindow.cpp QCocoaMenu: Attach menu items when updating the menubar 2017-11-05 01:39:30 +00:00
mainwindow.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
mainwindow.ui Cocoa Menus: Add support for menu items in window-less apps 2018-05-23 18:09:28 +00:00
menurama.pro Update version checks in tests/manual 2019-11-13 15:00:51 +01:00
menuramaapplication.cpp Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
menuramaapplication.h Menurama: Fix custom application class constructor signature 2017-11-17 13:30:40 +00:00