qt6-bb10/src/gui/kernel
Ulf Hermann 9ceedd5863 Make most of QMetaTypeInterface constexpr
The only thing we need to modify at runtime is the typeId and that can
be mutable. This way we can have a constexpr ctor for QMetaType which
hopefully makes the importing and exporting of related symbols less
fickle.

On Windows we cannot make QMetaTypeForType constexpr as that leads to
mysterious errors in other places. Until we figure out why that is, we
just leave this class as non-constexpr.

This reveals that qcoreapplication.h and qvariant.h are using QDebug
without including it. We now get template instantiation errors. Include
qdebug.h to avoid that.

Change-Id: If1bf0437ada52459c59c6fa45bab3d22dfb0bc92
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-10-18 13:48:16 +02:00
..
kernel.pri Add QOffScreenSurface platform API abstraction 2020-08-27 23:35:16 +03:00
qaction.cpp Do not trigger actions disabled directly or on group level 2020-10-08 09:01:11 +00:00
qaction.h Cleanup QAction::visible property 2020-09-10 09:24:18 +00:00
qaction_p.h Simplify QAction privates 2020-10-06 09:41:31 +02:00
qactiongroup.cpp Cleanup QAction::visible property 2020-09-10 09:24:18 +00:00
qactiongroup.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
qactiongroup_p.h Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
qclipboard.cpp Convert a couple of APIs to use views 2020-10-06 11:16:36 +02:00
qclipboard.h
qcursor.cpp Remove QVariant(int type, void *data, ...) constructor 2020-08-15 10:56:29 +02:00
qcursor.h Centralize the implementation of move assignment operators 2020-10-03 11:47:17 +02:00
qcursor_p.h
qdnd.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdnd_p.h Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-28 10:50:03 +01:00
qdrag.cpp Remove deprecated members from several QtGui classes 2020-04-27 12:21:29 +02:00
qdrag.h Remove deprecated members from several QtGui classes 2020-04-27 12:21:29 +02:00
qevent.cpp QMutableEventPoint::detach: deref old private 2020-10-18 10:42:48 +02:00
qevent.h Implement move and comparison operators for QEventPoint 2020-10-17 08:21:52 +02:00
qevent_p.h Implement move and comparison operators for QEventPoint 2020-10-17 08:21:52 +02:00
qgenericplugin.cpp
qgenericplugin.h
qgenericpluginfactory.cpp
qgenericpluginfactory.h
qguiapplication.cpp Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qguiapplication.h Remove "fallback session management" 2020-09-01 10:16:15 +02:00
qguiapplication_p.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qguistatemachine.cpp Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
qguivariant.cpp Make most of QMetaTypeInterface constexpr 2020-10-18 13:48:16 +02:00
qhighdpiscaling.cpp High-DPI: Remove legacy environment variables 2020-09-02 19:00:18 +02:00
qhighdpiscaling_p.h Simplify QHighDpi::fromNativeLocalExposedRegion() 2020-09-23 18:34:02 +03:00
qinputdevice.cpp Doc: Fix documentation issues for event and input device classes 2020-09-10 17:28:11 +02:00
qinputdevice.h Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
qinputdevice_p.h Replace emit with Q_EMIT in header 2020-07-14 21:44:18 +02:00
qinputdevicemanager.cpp QInputDeviceManager: replace a QMap<enum,int> with a std::array<int,#enum-values> 2019-06-06 08:23:02 +02:00
qinputdevicemanager_p.h QInputDeviceManager: replace a QMap<enum,int> with a std::array<int,#enum-values> 2019-06-06 08:23:02 +02:00
qinputdevicemanager_p_p.h QInputDeviceManager: initialize device counts 2020-01-09 10:45:48 +02:00
qinputmethod.cpp Pass QVariant by reference, address ### Qt 6 comment 2020-06-09 14:22:51 +02:00
qinputmethod.h Pass QVariant by reference, address ### Qt 6 comment 2020-06-09 14:22:51 +02:00
qinputmethod_p.h
qinternalmimedata.cpp Cleanup API of QMimeData 2020-09-21 14:56:09 +02:00
qinternalmimedata_p.h Cleanup API of QMimeData 2020-09-21 14:56:09 +02:00
qkeymapper.cpp Un-special-case macOS in handling of QKeyEvent::nativeScanCode() 2020-10-06 11:20:49 +02:00
qkeymapper_p.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qkeysequence.cpp Long live QKeyCombination! 2020-09-03 07:00:31 +02:00
qkeysequence.h Centralize the implementation of move assignment operators 2020-10-03 11:47:17 +02:00
qkeysequence_p.h Long live QKeyCombination! 2020-09-03 07:00:31 +02:00
qoffscreensurface.cpp doc: Update and flesh out native interface docs 2020-10-18 13:31:09 +02:00
qoffscreensurface.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qoffscreensurface_p.h Add QOffScreenSurface platform API abstraction 2020-08-27 23:35:16 +03:00
qoffscreensurface_platform.h Add a few missing Q_CLANG_QDOC for native interfaces 2020-10-13 16:39:32 +02:00
qopenglcontext.cpp doc: Update and flesh out native interface docs 2020-10-18 13:31:09 +02:00
qopenglcontext.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qopenglcontext_p.h Another round of 0->nullptr cleanup 2020-07-31 12:56:50 +02:00
qopenglcontext_platform.h doc: Update and flesh out native interface docs 2020-10-18 13:31:09 +02:00
qpaintdevicewindow.cpp Introduce QWindow::paintEvent with QPA plumbing 2020-08-26 16:44:53 +02:00
qpaintdevicewindow.h Introduce QWindow::paintEvent with QPA plumbing 2020-08-26 16:44:53 +02:00
qpaintdevicewindow_p.h
qpalette.cpp Unwrap private QPalette data member 2020-10-14 23:43:38 +02:00
qpalette.h Unwrap private QPalette data member 2020-10-14 23:43:38 +02:00
qpixelformat.cpp Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qpixelformat.h QPixelFormat: Fix warning about mixing different enums 2020-08-23 02:34:56 +02:00
qplatformclipboard.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qplatformclipboard.h
qplatformcursor.cpp Make bytes-per-line safe for int overflow 2020-02-20 16:11:02 +01:00
qplatformcursor.h Move the tooltip out of the way of very large mouse cursors 2019-12-09 17:43:22 +01:00
qplatformdialoghelper.cpp Tighten up QDialogButtonBox::ButtonLayout enum 2020-09-03 18:51:41 +02:00
qplatformdialoghelper.h Remove dead code 2020-10-12 14:49:50 +02:00
qplatformdrag.cpp
qplatformdrag.h
qplatformgraphicsbuffer.cpp Remove last remaining bits of QtPlatformHeaders 2020-08-04 07:12:32 +02:00
qplatformgraphicsbuffer.h
qplatformgraphicsbufferhelper.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qplatformgraphicsbufferhelper.h Move backing store OpenGL support to the platformcompositor module 2020-02-03 22:05:44 +01:00
qplatforminputcontext.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qplatforminputcontext.h
qplatforminputcontext_p.h
qplatforminputcontextfactory.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qplatforminputcontextfactory_p.h
qplatforminputcontextplugin.cpp
qplatforminputcontextplugin_p.h
qplatformintegration.cpp Plumb application quit through platform plugin 2020-09-14 12:41:00 +02:00
qplatformintegration.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qplatformintegrationfactory.cpp
qplatformintegrationfactory_p.h
qplatformintegrationplugin.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qplatformintegrationplugin.h
qplatformmenu.cpp
qplatformmenu.h Move private platform interfaces to private QPA headers 2020-07-20 17:47:35 +02:00
qplatformmenu_p.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qplatformnativeinterface.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qplatformnativeinterface.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qplatformoffscreensurface.cpp
qplatformoffscreensurface.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qplatformopenglcontext.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qplatformopenglcontext.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qplatformscreen.cpp Remove QPlatformScreen::pixelDensity() 2020-10-05 10:58:00 +02:00
qplatformscreen.h Give QPlatformPlaceholderScreen a DPR of 1 2020-10-06 09:22:03 +02:00
qplatformscreen_p.h Add a few missing Q_CLANG_QDOC for native interfaces 2020-10-13 16:39:32 +02:00
qplatformservices.cpp
qplatformservices.h
qplatformsessionmanager.cpp Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
qplatformsessionmanager.h
qplatformsharedgraphicscache.cpp Use QList instead of QVector in gui implementation 2020-07-07 20:35:05 +02:00
qplatformsharedgraphicscache.h Use QList instead of QVector in gui 2020-06-29 19:19:47 +02:00
qplatformsurface.cpp
qplatformsurface.h
qplatformsystemtrayicon.cpp
qplatformsystemtrayicon.h MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qplatformtheme.cpp Long live QKeyCombination! 2020-09-03 07:00:31 +02:00
qplatformtheme.h Get rid of some #ifdef qt6 2020-09-30 21:15:40 +02:00
qplatformtheme_p.h QShortcut: Properly port to the new configure system 2019-10-25 12:12:39 +02:00
qplatformthemefactory.cpp
qplatformthemefactory_p.h
qplatformthemeplugin.cpp
qplatformthemeplugin.h
qplatformwindow.cpp Change QWindow/QWidget::map(To/From)(Global/Parent) to operate in float 2020-07-14 10:25:47 +02:00
qplatformwindow.h Move private platform interfaces to private QPA headers 2020-07-20 17:47:35 +02:00
qplatformwindow_p.h Rename the new platform APIs from QPlatformInterface to QNativeInterface 2020-10-07 13:03:27 +02:00
qpointingdevice.cpp Emit CancelGrabExclusive when one grabber is replaced by another 2020-09-18 20:11:51 +00:00
qpointingdevice.h Add more QPointerEvent functions needed in Qt Quick 2020-09-17 04:20:58 +02:00
qpointingdevice_p.h Add more QPointerEvent functions needed in Qt Quick 2020-09-17 04:20:58 +02:00
qrasterwindow.cpp
qrasterwindow.h
qscreen.cpp Emit QScreen::geometryChanged when the logical DPI changes 2020-09-30 15:16:58 +02:00
qscreen.h Let QScreen::grabWindow's winId parameter default to 0 and add test 2020-07-01 07:09:24 +02:00
qscreen_p.h Remove QScreen::orientationUpdateMask 2020-05-07 13:48:08 +00:00
qsessionmanager.cpp Remove "fallback session management" 2020-09-01 10:16:15 +02:00
qsessionmanager.h
qsessionmanager_p.h
qshapedpixmapdndwindow.cpp Deprecate implicit QPixmap conversion to QBitmap 2020-09-17 13:26:50 +02:00
qshapedpixmapdndwindow_p.h
qshortcut.cpp Doc: Fix documentation warnings for Qt GUI 2020-08-28 11:37:35 +02:00
qshortcut.h Merge QGuiShortcut and QShortcut again in QtGui 2020-03-29 19:31:14 +01:00
qshortcut_p.h Merge QGuiShortcut and QShortcut again in QtGui 2020-03-29 19:31:14 +01:00
qshortcutmap.cpp Exclude all modifiers as candidates for shortcuts 2020-10-12 15:23:15 +02:00
qshortcutmap_p.h Use QList instead of QVector in gui 2020-06-29 19:19:47 +02:00
qsimpledrag.cpp Change QWindow/QWidget::map(To/From)(Global/Parent) to operate in float 2020-07-14 10:25:47 +02:00
qsimpledrag_p.h QBasicDrag: Send QDragMoveEvent when modifiers change 2020-05-14 15:19:47 +03:00
qstylehints.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qstylehints.h Add mouseDoubleClickDistance and touchDoubleTapDistance to QStyleHints 2019-07-08 20:29:17 +02:00
qsurface.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qsurface.h
qsurfaceformat.cpp Switch QSurfaceFormat::colorSpace to a QColorSpace 2020-09-15 01:41:13 +02:00
qsurfaceformat.h Port some more /*implicit*/-like comments to Q_IMPLICIT 2020-10-16 01:07:31 +02:00
qt_gui_pch.h
qtestsupport_gui.cpp Refactor testlib touch functions into qtestsupport_gui and _widgets 2020-09-08 08:02:15 +02:00
qtestsupport_gui.h Replace Q_REQUIRED_RESULT with [[nodiscard]] 2020-09-25 07:10:45 +02:00
qtguiglobal.h
qtguiglobal_p.h
qwindow.cpp Introduce QWindow::paintEvent with QPA plumbing 2020-08-26 16:44:53 +02:00
qwindow.h Doc: Fix documentation warnings for Qt GUI 2020-08-28 11:37:35 +02:00
qwindow_p.h Remove unused virtual method QWindowPrivate::allowClickThrough 2020-07-07 01:09:30 +02:00
qwindowdefs.h Fix some qdoc warnings 2020-07-21 13:19:09 +02:00
qwindowdefs_win.h Introduce platform API abstraction for QOpenGLContext 2020-07-02 10:27:50 +02:00
qwindowsysteminterface.cpp QWindowSystemInterface: Add tablet event overloads without timestamps 2020-10-17 11:56:41 +02:00
qwindowsysteminterface.h QWindowSystemInterface: Add tablet event overloads without timestamps 2020-10-17 11:56:41 +02:00
qwindowsysteminterface_p.h Remove QWSIPrivate::EventType::FrameStrutMouse 2020-08-31 14:29:01 +02:00