From b823747c3b9302a5bcd56027a729a3aa55414d26 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 5 Jul 2023 08:30:14 +0200 Subject: [PATCH] Add explicit moc includes to sources for moc-covered headers * speeds up incremental builds as changes to a header will not always need the full mocs_compilation.cpp for all the target's headers rebuild, while having a moc file sourced into a source file only adds minor extra costs, due to small own code and the used headers usually already covered by the source file, being for the same class/struct * seems to not slow down clean builds, due to empty mocs_compilation.cpp resulting in those quickly processed, while the minor extra cost of the sourced moc files does not outweigh that in summary. Measured times actually improved by some percent points. (ideally CMake would just skip empty mocs_compilation.cpp & its object file one day) * enables compiler to see all methods of a class in same compilation unit to do some sanity checks * potentially more inlining in general, due to more in the compilation unit * allows to keep using more forward declarations in the header, as with the moc code being sourced into the cpp file there definitions can be ensured and often are already for the needs of the normal class methods --- autotests/integration/generic_scene_opengl_test.cpp | 2 ++ autotests/integration/kwin_wayland_test.cpp | 2 ++ autotests/onscreennotificationtest.cpp | 2 ++ src/activities.cpp | 2 ++ src/appmenu.cpp | 2 ++ src/backends/drm/drm_abstract_output.cpp | 2 ++ src/backends/drm/drm_backend.cpp | 2 ++ src/backends/drm/drm_egl_backend.cpp | 2 ++ src/backends/drm/drm_egl_layer_surface.cpp | 2 ++ src/backends/drm/drm_gpu.cpp | 2 ++ src/backends/drm/drm_output.cpp | 2 ++ src/backends/drm/drm_plane.cpp | 2 ++ src/backends/drm/drm_qpainter_backend.cpp | 2 ++ src/backends/drm/drm_virtual_output.cpp | 2 ++ src/backends/fakeinput/fakeinputbackend.cpp | 2 ++ src/backends/fakeinput/fakeinputdevice.cpp | 2 ++ src/backends/libinput/connection.cpp | 2 ++ src/backends/libinput/device.cpp | 2 ++ src/backends/libinput/libinputbackend.cpp | 2 ++ src/backends/virtual/virtual_backend.cpp | 2 ++ src/backends/virtual/virtual_egl_backend.cpp | 2 ++ src/backends/virtual/virtual_output.cpp | 2 ++ src/backends/virtual/virtual_qpainter_backend.cpp | 2 ++ src/backends/wayland/wayland_backend.cpp | 2 ++ src/backends/wayland/wayland_display.cpp | 2 ++ src/backends/wayland/wayland_egl_backend.cpp | 2 ++ src/backends/wayland/wayland_output.cpp | 2 ++ src/backends/wayland/wayland_qpainter_backend.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_backend.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_cursor.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_edge.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_effects.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_egl_backend.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_glx_backend.cpp | 2 ++ .../standalone/x11_standalone_omlsynccontrolvsyncmonitor.cpp | 2 ++ src/backends/x11/standalone/x11_standalone_output.cpp | 2 ++ .../x11/standalone/x11_standalone_placeholderoutput.cpp | 2 ++ .../standalone/x11_standalone_sgivideosyncvsyncmonitor.cpp | 2 ++ .../x11/standalone/x11_standalone_xinputintegration.cpp | 2 ++ src/backends/x11/windowed/x11_windowed_backend.cpp | 2 ++ src/backends/x11/windowed/x11_windowed_egl_backend.cpp | 2 ++ src/backends/x11/windowed/x11_windowed_output.cpp | 2 ++ src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp | 2 ++ src/client_machine.cpp | 2 ++ src/colors/colordevice.cpp | 2 ++ src/colors/colormanager.cpp | 2 ++ src/composite.cpp | 2 ++ src/core/gbmgraphicsbufferallocator.cpp | 1 + src/core/graphicsbuffer.cpp | 2 ++ src/core/inputbackend.cpp | 2 ++ src/core/inputdevice.cpp | 2 ++ src/core/output.cpp | 2 ++ src/core/outputbackend.cpp | 2 ++ src/core/outputlayer.cpp | 2 ++ src/core/renderbackend.cpp | 2 ++ src/core/renderlayer.cpp | 2 ++ src/core/renderloop.cpp | 2 ++ src/core/session.cpp | 2 ++ src/core/session_consolekit.cpp | 2 ++ src/core/session_logind.cpp | 2 ++ src/core/session_noop.cpp | 2 ++ src/core/shmgraphicsbufferallocator.cpp | 1 + src/cursor.cpp | 2 ++ src/cursorsource.cpp | 2 ++ src/dbusinterface.cpp | 2 ++ src/debug_console.cpp | 2 ++ src/decorations/decoratedclient.cpp | 2 ++ src/decorations/decorationbridge.cpp | 2 ++ src/decorations/decorationpalette.cpp | 2 ++ src/decorations/settings.cpp | 2 ++ src/effectloader.cpp | 2 ++ src/effects.cpp | 2 ++ src/focuschain.cpp | 2 ++ src/ftrace.cpp | 2 ++ src/gestures.cpp | 2 ++ src/globalshortcuts.cpp | 2 ++ src/idle_inhibition.cpp | 2 ++ src/idledetector.cpp | 2 ++ src/input.cpp | 2 ++ src/inputmethod.cpp | 2 ++ src/inputpanelv1integration.cpp | 2 ++ src/inputpanelv1window.cpp | 2 ++ src/internalwindow.cpp | 2 ++ src/kcms/common/effectsmodel.cpp | 2 ++ src/kcms/common/genericscriptedconfig.cpp | 2 ++ src/kcms/compositing/kwincompositingdata.cpp | 2 ++ src/kcms/decoration/declarative-plugin/buttonsmodel.cpp | 2 ++ src/kcms/decoration/declarative-plugin/plugin.cpp | 2 ++ src/kcms/decoration/declarative-plugin/previewbridge.cpp | 2 ++ src/kcms/decoration/declarative-plugin/previewsettings.cpp | 2 ++ src/kcms/decoration/decorationmodel.cpp | 2 ++ src/kcms/desktop/animationsmodel.cpp | 2 ++ src/kcms/desktop/desktopsmodel.cpp | 2 ++ src/kcms/desktop/virtualdesktopsdata.cpp | 2 ++ src/kcms/effects/desktopeffectsdata.cpp | 2 ++ src/kcms/effects/effectsfilterproxymodel.cpp | 2 ++ src/kcms/effects/kcm.cpp | 2 ++ src/kcms/options/main.cpp | 2 ++ src/kcms/options/mouse.cpp | 2 ++ src/kcms/options/windows.cpp | 2 ++ src/kcms/rules/kcmrules.cpp | 2 ++ src/kcms/rules/optionsmodel.cpp | 2 ++ src/kcms/rules/rulebookmodel.cpp | 2 ++ src/kcms/rules/ruleitem.cpp | 2 ++ src/kcms/rules/rulesmodel.cpp | 2 ++ src/kcms/screenedges/kwinscreenedge.cpp | 2 ++ src/kcms/screenedges/kwinscreenedgeconfigform.cpp | 2 ++ src/kcms/screenedges/kwintouchscreenedgeconfigform.cpp | 2 ++ src/kcms/screenedges/main.cpp | 2 ++ src/kcms/screenedges/monitor.cpp | 2 ++ src/kcms/screenedges/touch.cpp | 2 ++ src/kcms/scripts/kwinscriptsdata.cpp | 2 ++ src/kcms/scripts/module.cpp | 2 ++ src/kcms/tabbox/kwintabboxconfigform.cpp | 2 ++ src/kcms/tabbox/kwintabboxdata.cpp | 2 ++ src/kcms/tabbox/layoutpreview.cpp | 2 ++ src/kcms/tabbox/main.cpp | 2 ++ src/kcms/tabbox/thumbnailitem.cpp | 2 ++ src/kcms/xwayland/kcmkwinxwayland.cpp | 2 ++ src/keyboard_input.cpp | 2 ++ src/keyboard_layout.cpp | 2 ++ src/keyboard_layout_switching.cpp | 2 ++ src/keyboard_repeat.cpp | 2 ++ src/layershellv1integration.cpp | 2 ++ src/layershellv1window.cpp | 2 ++ src/libkwineffects/effecttogglablestate.cpp | 2 ++ src/libkwineffects/kwinoffscreeneffect.cpp | 2 ++ src/libkwineffects/kwinoffscreenquickview.cpp | 2 ++ src/lidswitchtracker.cpp | 2 ++ src/main.cpp | 2 ++ src/main_wayland.cpp | 2 ++ src/main_x11.cpp | 2 ++ src/modifier_only_shortcuts.cpp | 2 ++ src/onscreennotification.cpp | 2 ++ src/options.cpp | 2 ++ src/outline.cpp | 2 ++ src/placeholderoutput.cpp | 2 ++ src/placementtracker.cpp | 2 ++ src/platformsupport/scenes/opengl/abstract_egl_backend.cpp | 2 ++ src/platformsupport/scenes/opengl/openglbackend.cpp | 2 ++ src/platformsupport/scenes/qpainter/qpainterbackend.cpp | 2 ++ src/plugin.cpp | 2 ++ src/pluginmanager.cpp | 2 ++ src/plugins/backgroundcontrast/contrast.cpp | 2 ++ src/plugins/blendchanges/blendchanges.cpp | 2 ++ src/plugins/blur/blur.cpp | 2 ++ src/plugins/blur/blur_config.cpp | 2 ++ src/plugins/blur/blurshader.cpp | 2 ++ src/plugins/buttonrebinds/buttonrebindsfilter.cpp | 2 ++ src/plugins/colord-integration/colordintegration.cpp | 2 ++ src/plugins/colorpicker/colorpicker.cpp | 2 ++ src/plugins/desktopgrid/desktopgrid_config.cpp | 2 ++ src/plugins/desktopgrid/desktopgrideffect.cpp | 2 ++ src/plugins/diminactive/diminactive.cpp | 2 ++ src/plugins/diminactive/diminactive_config.cpp | 2 ++ src/plugins/fallapart/fallapart.cpp | 2 ++ src/plugins/glide/glide.cpp | 2 ++ src/plugins/glide/glide_config.cpp | 2 ++ src/plugins/highlightwindow/highlightwindow.cpp | 2 ++ src/plugins/idletime/poller.cpp | 2 ++ src/plugins/invert/invert.cpp | 2 ++ src/plugins/invert/invert_config.cpp | 2 ++ src/plugins/kdecorations/aurorae/src/colorhelper.cpp | 2 ++ src/plugins/kdecorations/aurorae/src/config/auroraeconfig.cpp | 2 ++ src/plugins/kdecorations/aurorae/src/decorationoptions.cpp | 2 ++ src/plugins/kdecorations/aurorae/src/decorationplugin.cpp | 2 ++ src/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp | 2 ++ .../aurorae/themes/plastik/code/plastikplugin.cpp | 2 ++ src/plugins/kglobalaccel/kglobalaccel_plugin.cpp | 2 ++ src/plugins/krunner-integration/windowsrunnerinterface.cpp | 2 ++ src/plugins/kscreen/kscreen.cpp | 2 ++ src/plugins/magiclamp/magiclamp.cpp | 2 ++ src/plugins/magiclamp/magiclamp_config.cpp | 2 ++ src/plugins/magnifier/magnifier.cpp | 2 ++ src/plugins/magnifier/magnifier_config.cpp | 2 ++ src/plugins/mouseclick/mouseclick.cpp | 2 ++ src/plugins/mouseclick/mouseclick_config.cpp | 2 ++ src/plugins/mousemark/mousemark.cpp | 2 ++ src/plugins/mousemark/mousemark_config.cpp | 2 ++ src/plugins/nightcolor/clockskewnotifier.cpp | 2 ++ src/plugins/nightcolor/clockskewnotifierengine.cpp | 2 ++ src/plugins/nightcolor/clockskewnotifierengine_linux.cpp | 2 ++ src/plugins/nightcolor/nightcolordbusinterface.cpp | 2 ++ src/plugins/nightcolor/nightcolormanager.cpp | 2 ++ src/plugins/outputlocator/outputlocator.cpp | 2 ++ src/plugins/overview/kcm/overvieweffectkcm.cpp | 2 ++ src/plugins/overview/overvieweffect.cpp | 2 ++ src/plugins/private/expoarea.cpp | 2 ++ src/plugins/private/expolayout.cpp | 2 ++ src/plugins/private/plugin.cpp | 2 ++ src/plugins/qpa/integration.cpp | 2 ++ src/plugins/qpa/screen.cpp | 2 ++ src/plugins/screencast/outputscreencastsource.cpp | 2 ++ src/plugins/screencast/pipewirecore.cpp | 2 ++ src/plugins/screencast/regionscreencastsource.cpp | 2 ++ src/plugins/screencast/screencastmanager.cpp | 2 ++ src/plugins/screencast/screencastsource.cpp | 2 ++ src/plugins/screencast/screencaststream.cpp | 2 ++ src/plugins/screencast/windowscreencastsource.cpp | 2 ++ src/plugins/screenedge/screenedgeeffect.cpp | 2 ++ src/plugins/screenshot/screenshot.cpp | 2 ++ src/plugins/screenshot/screenshotdbusinterface2.cpp | 2 ++ src/plugins/screentransform/screentransform.cpp | 2 ++ src/plugins/sheet/sheet.cpp | 2 ++ src/plugins/showfps/showfpseffect.cpp | 2 ++ src/plugins/showpaint/showpaint.cpp | 2 ++ src/plugins/showpaint/showpaint_config.cpp | 2 ++ src/plugins/slide/slide.cpp | 2 ++ src/plugins/slide/slide_config.cpp | 2 ++ src/plugins/slideback/slideback.cpp | 2 ++ src/plugins/slidingpopups/slidingpopups.cpp | 2 ++ src/plugins/snaphelper/snaphelper.cpp | 2 ++ src/plugins/startupfeedback/startupfeedback.cpp | 2 ++ src/plugins/stickykeys/stickykeys.cpp | 2 ++ src/plugins/thumbnailaside/thumbnailaside.cpp | 2 ++ src/plugins/thumbnailaside/thumbnailaside_config.cpp | 2 ++ src/plugins/tileseditor/kcm/tileseditoreffectkcm.cpp | 2 ++ src/plugins/tileseditor/tileseditoreffect.cpp | 2 ++ src/plugins/touchpoints/touchpoints.cpp | 2 ++ src/plugins/trackmouse/trackmouse.cpp | 2 ++ src/plugins/trackmouse/trackmouse_config.cpp | 2 ++ src/plugins/windowsystem/plugin.cpp | 2 ++ src/plugins/windowsystem/windowsystem.cpp | 2 ++ src/plugins/windowview/kcm/windowvieweffectkcm.cpp | 2 ++ src/plugins/windowview/windowvieweffect.cpp | 2 ++ src/plugins/wobblywindows/wobblywindows.cpp | 2 ++ src/plugins/wobblywindows/wobblywindows_config.cpp | 2 ++ src/plugins/zoom/accessibilityintegration.cpp | 2 ++ src/plugins/zoom/zoom.cpp | 2 ++ src/plugins/zoom/zoom_config.cpp | 2 ++ src/pointer_input.cpp | 2 ++ src/popup_input_filter.cpp | 2 ++ src/rules.cpp | 2 ++ src/scene/cursordelegate_opengl.cpp | 2 ++ src/scene/cursoritem.cpp | 2 ++ src/scene/cursorscene.cpp | 2 ++ src/scene/decorationitem.cpp | 2 ++ src/scene/dndiconitem.cpp | 2 ++ src/scene/imageitem.cpp | 2 ++ src/scene/item.cpp | 2 ++ src/scene/scene.cpp | 2 ++ src/scene/shadowitem.cpp | 2 ++ src/scene/surfaceitem.cpp | 2 ++ src/scene/surfaceitem_internal.cpp | 2 ++ src/scene/surfaceitem_wayland.cpp | 2 ++ src/scene/surfaceitem_x11.cpp | 2 ++ src/scene/windowitem.cpp | 2 ++ src/scene/workspacescene.cpp | 2 ++ src/scene/workspacescene_opengl.cpp | 2 ++ src/scene/workspacescene_qpainter.cpp | 2 ++ src/screenedge.cpp | 2 ++ src/screenlockerwatcher.cpp | 2 ++ src/scripting/dbuscall.cpp | 2 ++ src/scripting/screenedgehandler.cpp | 2 ++ src/scripting/scriptedeffect.cpp | 2 ++ src/scripting/scripting.cpp | 2 ++ src/scripting/shortcuthandler.cpp | 2 ++ src/scripting/virtualdesktopmodel.cpp | 2 ++ src/scripting/windowmodel.cpp | 2 ++ src/scripting/windowthumbnailitem.cpp | 2 ++ src/shadow.cpp | 2 ++ src/sm.cpp | 2 ++ src/tabbox/clientmodel.cpp | 2 ++ src/tabbox/switcheritem.cpp | 2 ++ src/tabbox/tabbox.cpp | 2 ++ src/tabbox/tabboxhandler.cpp | 2 ++ src/tablet_input.cpp | 2 ++ src/tabletmodemanager.cpp | 2 ++ src/tiles/quicktile.cpp | 2 ++ src/touch_input.cpp | 2 ++ src/useractions.cpp | 2 ++ src/utils/softwarevsyncmonitor.cpp | 2 ++ src/utils/subsurfacemonitor.cpp | 2 ++ src/utils/vsyncmonitor.cpp | 2 ++ src/virtualdesktops.cpp | 2 ++ src/virtualkeyboard_dbus.cpp | 2 ++ src/wayland/abstract_data_source.cpp | 2 ++ src/wayland/abstract_drop_handler.cpp | 2 ++ src/wayland/blur_interface.cpp | 2 ++ src/wayland/clientconnection.cpp | 2 ++ src/wayland/compositor_interface.cpp | 2 ++ src/wayland/contenttype_v1_interface.cpp | 2 ++ src/wayland/contrast_interface.cpp | 2 ++ src/wayland/datacontroldevice_v1_interface.cpp | 2 ++ src/wayland/datacontroldevicemanager_v1_interface.cpp | 2 ++ src/wayland/datacontroloffer_v1_interface.cpp | 2 ++ src/wayland/datacontrolsource_v1_interface.cpp | 2 ++ src/wayland/datadevice_interface.cpp | 2 ++ src/wayland/datadevicemanager_interface.cpp | 2 ++ src/wayland/dataoffer_interface.cpp | 2 ++ src/wayland/datasource_interface.cpp | 2 ++ src/wayland/display.cpp | 2 ++ src/wayland/dpms_interface.cpp | 2 ++ src/wayland/drmclientbuffer.cpp | 2 ++ src/wayland/drmlease_v1_interface.cpp | 4 ++++ src/wayland/fakeinput_interface.cpp | 2 ++ src/wayland/filtered_display.cpp | 2 ++ src/wayland/fractionalscale_v1_interface.cpp | 2 ++ src/wayland/idle_interface.cpp | 4 ++++ src/wayland/idleinhibit_v1_interface.cpp | 4 ++++ src/wayland/idlenotify_v1_interface.cpp | 2 ++ src/wayland/inputmethod_v1_interface.cpp | 2 ++ src/wayland/keyboard_interface.cpp | 2 ++ src/wayland/keyboard_shortcuts_inhibit_v1_interface.cpp | 2 ++ src/wayland/keystate_interface.cpp | 2 ++ src/wayland/layershell_v1_interface.cpp | 2 ++ src/wayland/linuxdmabufv1clientbuffer.cpp | 4 ++++ src/wayland/lockscreen_overlay_v1_interface.cpp | 2 ++ src/wayland/output_interface.cpp | 2 ++ src/wayland/output_order_v1_interface.cpp | 2 ++ src/wayland/outputdevice_v2_interface.cpp | 2 ++ src/wayland/outputmanagement_v2_interface.cpp | 2 ++ src/wayland/plasmashell_interface.cpp | 2 ++ src/wayland/plasmavirtualdesktop_interface.cpp | 2 ++ src/wayland/plasmawindowmanagement_interface.cpp | 2 ++ src/wayland/pointer_interface.cpp | 2 ++ src/wayland/pointerconstraints_v1_interface.cpp | 2 ++ src/wayland/pointergestures_v1_interface.cpp | 2 ++ src/wayland/primaryselectiondevice_v1_interface.cpp | 2 ++ src/wayland/primaryselectiondevicemanager_v1_interface.cpp | 2 ++ src/wayland/primaryselectionoffer_v1_interface.cpp | 2 ++ src/wayland/primaryselectionsource_v1_interface.cpp | 2 ++ src/wayland/relativepointer_v1_interface.cpp | 2 ++ src/wayland/screencast_v1_interface.cpp | 2 ++ src/wayland/screenedge_v1_interface.cpp | 2 ++ src/wayland/seat_interface.cpp | 2 ++ src/wayland/server_decoration_interface.cpp | 2 ++ src/wayland/server_decoration_palette_interface.cpp | 2 ++ src/wayland/shadow_interface.cpp | 2 ++ src/wayland/shmclientbuffer.cpp | 4 ++++ src/wayland/slide_interface.cpp | 2 ++ src/wayland/subcompositor_interface.cpp | 2 ++ src/wayland/surface_interface.cpp | 2 ++ src/wayland/tablet_v2_interface.cpp | 2 ++ src/wayland/tearingcontrol_v1_interface.cpp | 2 ++ src/wayland/tests/fakeoutput.cpp | 2 ++ src/wayland/tests/touchclienttest.cpp | 2 ++ src/wayland/textinput.cpp | 2 ++ src/wayland/textinput_v1_interface.cpp | 2 ++ src/wayland/textinput_v2_interface.cpp | 2 ++ src/wayland/textinput_v3_interface.cpp | 2 ++ src/wayland/touch_interface.cpp | 2 ++ src/wayland/viewporter_interface.cpp | 2 ++ src/wayland/xdgactivation_v1_interface.cpp | 2 ++ src/wayland/xdgdecoration_v1_interface.cpp | 2 ++ src/wayland/xdgforeign_v2_interface.cpp | 4 ++++ src/wayland/xdgoutput_v1_interface.cpp | 2 ++ src/wayland/xdgshell_interface.cpp | 2 ++ src/wayland/xwaylandkeyboardgrab_v1_interface.cpp | 2 ++ src/wayland/xwaylandshell_v1_interface.cpp | 2 ++ src/wayland_server.cpp | 2 ++ src/waylandshellintegration.cpp | 2 ++ src/waylandwindow.cpp | 2 ++ src/workspace.cpp | 2 ++ src/x11window.cpp | 2 ++ src/xdgactivationv1.cpp | 2 ++ src/xdgshellintegration.cpp | 2 ++ src/xdgshellwindow.cpp | 2 ++ src/xkb.cpp | 2 ++ src/xwayland/clipboard.cpp | 2 ++ src/xwayland/databridge.cpp | 2 ++ src/xwayland/datasource.cpp | 2 ++ src/xwayland/dnd.cpp | 2 ++ src/xwayland/drag.cpp | 2 ++ src/xwayland/drag_wl.cpp | 2 ++ src/xwayland/drag_x.cpp | 2 ++ src/xwayland/primary.cpp | 2 ++ src/xwayland/selection.cpp | 2 ++ src/xwayland/selection_source.cpp | 2 ++ src/xwayland/transfer.cpp | 2 ++ src/xwayland/xwayland.cpp | 2 ++ src/xwayland/xwaylandlauncher.cpp | 2 ++ src/xwayland/xwldrophandler.cpp | 2 ++ tests/pointerconstraintstest.cpp | 2 ++ 374 files changed, 758 insertions(+) diff --git a/autotests/integration/generic_scene_opengl_test.cpp b/autotests/integration/generic_scene_opengl_test.cpp index 2ad1d77732..846e9a243a 100644 --- a/autotests/integration/generic_scene_opengl_test.cpp +++ b/autotests/integration/generic_scene_opengl_test.cpp @@ -89,3 +89,5 @@ void GenericSceneOpenGLTest::testRestart() // TODO: introduce frameRendered signal in SceneOpenGL QTest::qWait(100); } + +#include "moc_generic_scene_opengl_test.cpp" diff --git a/autotests/integration/kwin_wayland_test.cpp b/autotests/integration/kwin_wayland_test.cpp index beeed25ebb..47e80f1f76 100644 --- a/autotests/integration/kwin_wayland_test.cpp +++ b/autotests/integration/kwin_wayland_test.cpp @@ -235,3 +235,5 @@ void Test::setOutputConfig(const QVector &infos) static_cast(kwinApp()->outputBackend())->setVirtualOutputs(converted); } } + +#include "moc_kwin_wayland_test.cpp" diff --git a/autotests/onscreennotificationtest.cpp b/autotests/onscreennotificationtest.cpp index a1e890ff79..8865dcaad0 100644 --- a/autotests/onscreennotificationtest.cpp +++ b/autotests/onscreennotificationtest.cpp @@ -120,3 +120,5 @@ void OnScreenNotificationTest::message() QCOMPARE(notification.message(), QStringLiteral("bar")); QCOMPARE(messageChangedSpy.count(), 2); } + +#include "moc_onscreennotificationtest.cpp" diff --git a/src/activities.cpp b/src/activities.cpp index a352bd5270..5870144dd0 100644 --- a/src/activities.cpp +++ b/src/activities.cpp @@ -231,3 +231,5 @@ void Activities::reallyStop(const QString &id) } } // namespace + +#include "moc_activities.cpp" diff --git a/src/appmenu.cpp b/src/appmenu.cpp index 1721b9a7a7..5a5d7f3de1 100644 --- a/src/appmenu.cpp +++ b/src/appmenu.cpp @@ -111,3 +111,5 @@ Window *ApplicationMenu::findWindowWithApplicationMenu(const QString &serviceNam } } // namespace KWin + +#include "moc_appmenu.cpp" diff --git a/src/backends/drm/drm_abstract_output.cpp b/src/backends/drm/drm_abstract_output.cpp index 71472eb615..67b981bd30 100644 --- a/src/backends/drm/drm_abstract_output.cpp +++ b/src/backends/drm/drm_abstract_output.cpp @@ -49,3 +49,5 @@ void DrmAbstractOutput::updateEnabled(bool enabled) } } + +#include "moc_drm_abstract_output.cpp" diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp index 2a54b2b869..053ce50639 100644 --- a/src/backends/drm/drm_backend.cpp +++ b/src/backends/drm/drm_backend.cpp @@ -488,3 +488,5 @@ EglDisplay *DrmBackend::sceneEglDisplayObject() const return m_gpus.front()->eglDisplay(); } } + +#include "moc_drm_backend.cpp" diff --git a/src/backends/drm/drm_egl_backend.cpp b/src/backends/drm/drm_egl_backend.cpp index 881c45bd38..df73989823 100644 --- a/src/backends/drm/drm_egl_backend.cpp +++ b/src/backends/drm/drm_egl_backend.cpp @@ -192,3 +192,5 @@ DrmGpu *EglGbmBackend::gpu() const } } // namespace KWin + +#include "moc_drm_egl_backend.cpp" diff --git a/src/backends/drm/drm_egl_layer_surface.cpp b/src/backends/drm/drm_egl_layer_surface.cpp index 3e4562452f..2d1f97a54f 100644 --- a/src/backends/drm/drm_egl_layer_surface.cpp +++ b/src/backends/drm/drm_egl_layer_surface.cpp @@ -481,3 +481,5 @@ std::shared_ptr EglGbmLayerSurface::importWithCpu(Surface &surfa return ret; } } + +#include "moc_drm_egl_layer_surface.cpp" diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index 2694ecec6d..4cee29bea1 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -941,3 +941,5 @@ uint32_t DrmLease::lesseeId() const return m_lesseeId; } } + +#include "moc_drm_gpu.cpp" diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index dce7a9f7b5..ea13619a34 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -527,3 +527,5 @@ bool DrmOutput::needsColormanagement() const return m_pipeline->colorimetry() != NamedColorimetry::BT709 || m_pipeline->transferFunction() != NamedTransferFunction::sRGB || m_gpu->isNVidia(); } } + +#include "moc_drm_output.cpp" diff --git a/src/backends/drm/drm_plane.cpp b/src/backends/drm/drm_plane.cpp index 8e9fcd56c6..7e8f71a71d 100644 --- a/src/backends/drm/drm_plane.cpp +++ b/src/backends/drm/drm_plane.cpp @@ -187,3 +187,5 @@ int32_t DrmPlane::transformationToDegrees(DrmPlane::Transformations transformati } } } + +#include "moc_drm_plane.cpp" diff --git a/src/backends/drm/drm_qpainter_backend.cpp b/src/backends/drm/drm_qpainter_backend.cpp index efb6463d5f..4d176f7679 100644 --- a/src/backends/drm/drm_qpainter_backend.cpp +++ b/src/backends/drm/drm_qpainter_backend.cpp @@ -62,3 +62,5 @@ std::shared_ptr DrmQPainterBackend::createLayer(DrmVirtualOutput } } + +#include "moc_drm_qpainter_backend.cpp" diff --git a/src/backends/drm/drm_virtual_output.cpp b/src/backends/drm/drm_virtual_output.cpp index 089d85b980..a01591f33d 100644 --- a/src/backends/drm/drm_virtual_output.cpp +++ b/src/backends/drm/drm_virtual_output.cpp @@ -83,3 +83,5 @@ void DrmVirtualOutput::recreateSurface() } } + +#include "moc_drm_virtual_output.cpp" diff --git a/src/backends/fakeinput/fakeinputbackend.cpp b/src/backends/fakeinput/fakeinputbackend.cpp index d8f01d322c..5cb71adbe9 100644 --- a/src/backends/fakeinput/fakeinputbackend.cpp +++ b/src/backends/fakeinput/fakeinputbackend.cpp @@ -33,3 +33,5 @@ void FakeInputBackend::initialize() } } // namespace KWin + +#include "moc_fakeinputbackend.cpp" diff --git a/src/backends/fakeinput/fakeinputdevice.cpp b/src/backends/fakeinput/fakeinputdevice.cpp index aaf4ddd23f..1a0a5002af 100644 --- a/src/backends/fakeinput/fakeinputdevice.cpp +++ b/src/backends/fakeinput/fakeinputdevice.cpp @@ -158,3 +158,5 @@ bool FakeInputDevice::isLidSwitch() const } } // namespace KWin + +#include "moc_fakeinputdevice.cpp" diff --git a/src/backends/libinput/connection.cpp b/src/backends/libinput/connection.cpp index 59e77745d6..c7b3d5f524 100644 --- a/src/backends/libinput/connection.cpp +++ b/src/backends/libinput/connection.cpp @@ -704,3 +704,5 @@ QStringList Connection::devicesSysNames() const } #include "connection.moc" + +#include "moc_connection.cpp" diff --git a/src/backends/libinput/device.cpp b/src/backends/libinput/device.cpp index a3a30b8db1..f313ace4e7 100644 --- a/src/backends/libinput/device.cpp +++ b/src/backends/libinput/device.cpp @@ -713,3 +713,5 @@ void Device::setOutputArea(const QRectF &outputArea) } } } + +#include "moc_device.cpp" diff --git a/src/backends/libinput/libinputbackend.cpp b/src/backends/libinput/libinputbackend.cpp index f8d36d5bb0..f925012277 100644 --- a/src/backends/libinput/libinputbackend.cpp +++ b/src/backends/libinput/libinputbackend.cpp @@ -52,3 +52,5 @@ void LibinputBackend::updateScreens() } } // namespace KWin + +#include "moc_libinputbackend.cpp" diff --git a/src/backends/virtual/virtual_backend.cpp b/src/backends/virtual/virtual_backend.cpp index a12b5770da..43a5fbb5d9 100644 --- a/src/backends/virtual/virtual_backend.cpp +++ b/src/backends/virtual/virtual_backend.cpp @@ -152,3 +152,5 @@ EglDisplay *VirtualBackend::sceneEglDisplayObject() const } } // namespace KWin + +#include "moc_virtual_backend.cpp" diff --git a/src/backends/virtual/virtual_egl_backend.cpp b/src/backends/virtual/virtual_egl_backend.cpp index 1bca8569ab..c9a4ba8eb2 100644 --- a/src/backends/virtual/virtual_egl_backend.cpp +++ b/src/backends/virtual/virtual_egl_backend.cpp @@ -192,3 +192,5 @@ std::pair, ColorDescription> VirtualEglBackend: } } // namespace + +#include "moc_virtual_egl_backend.cpp" diff --git a/src/backends/virtual/virtual_output.cpp b/src/backends/virtual/virtual_output.cpp index d96c3d6951..ccc879e89a 100644 --- a/src/backends/virtual/virtual_output.cpp +++ b/src/backends/virtual/virtual_output.cpp @@ -75,3 +75,5 @@ void VirtualOutput::vblank(std::chrono::nanoseconds timestamp) } } + +#include "moc_virtual_output.cpp" diff --git a/src/backends/virtual/virtual_qpainter_backend.cpp b/src/backends/virtual/virtual_qpainter_backend.cpp index 410ae8a2c6..d43a4e5730 100644 --- a/src/backends/virtual/virtual_qpainter_backend.cpp +++ b/src/backends/virtual/virtual_qpainter_backend.cpp @@ -101,3 +101,5 @@ VirtualQPainterLayer *VirtualQPainterBackend::primaryLayer(Output *output) return m_outputs[output].get(); } } + +#include "moc_virtual_qpainter_backend.cpp" diff --git a/src/backends/wayland/wayland_backend.cpp b/src/backends/wayland/wayland_backend.cpp index 7958127537..9b3ace4ef0 100644 --- a/src/backends/wayland/wayland_backend.cpp +++ b/src/backends/wayland/wayland_backend.cpp @@ -761,3 +761,5 @@ void WaylandBuffer::unlock() } } // KWin + +#include "moc_wayland_backend.cpp" diff --git a/src/backends/wayland/wayland_display.cpp b/src/backends/wayland/wayland_display.cpp index 002ff3d217..d773f045ed 100644 --- a/src/backends/wayland/wayland_display.cpp +++ b/src/backends/wayland/wayland_display.cpp @@ -468,3 +468,5 @@ void WaylandDisplay::registry_global_remove(void *data, wl_registry *registry, u } #include "wayland_display.moc" + +#include "moc_wayland_display.cpp" diff --git a/src/backends/wayland/wayland_egl_backend.cpp b/src/backends/wayland/wayland_egl_backend.cpp index 3838873ee0..eb0674228a 100644 --- a/src/backends/wayland/wayland_egl_backend.cpp +++ b/src/backends/wayland/wayland_egl_backend.cpp @@ -333,3 +333,5 @@ OutputLayer *WaylandEglBackend::cursorLayer(Output *output) } } + +#include "moc_wayland_egl_backend.cpp" diff --git a/src/backends/wayland/wayland_output.cpp b/src/backends/wayland/wayland_output.cpp index 0a664041d9..e0ebd1fc13 100644 --- a/src/backends/wayland/wayland_output.cpp +++ b/src/backends/wayland/wayland_output.cpp @@ -346,3 +346,5 @@ void WaylandOutput::lockPointer(Pointer *pointer, bool lock) } } + +#include "moc_wayland_output.cpp" diff --git a/src/backends/wayland/wayland_qpainter_backend.cpp b/src/backends/wayland/wayland_qpainter_backend.cpp index 3002396456..7d4da20a41 100644 --- a/src/backends/wayland/wayland_qpainter_backend.cpp +++ b/src/backends/wayland/wayland_qpainter_backend.cpp @@ -177,3 +177,5 @@ OutputLayer *WaylandQPainterBackend::cursorLayer(Output *output) } } + +#include "moc_wayland_qpainter_backend.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_backend.cpp b/src/backends/x11/standalone/x11_standalone_backend.cpp index 17a81c75c8..06c56cc908 100644 --- a/src/backends/x11/standalone/x11_standalone_backend.cpp +++ b/src/backends/x11/standalone/x11_standalone_backend.cpp @@ -519,3 +519,5 @@ EglDisplay *X11StandaloneBackend::sceneEglDisplayObject() const return m_eglDisplay.get(); } } + +#include "moc_x11_standalone_backend.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_cursor.cpp b/src/backends/x11/standalone/x11_standalone_cursor.cpp index 57e95bec7f..e567b9551f 100644 --- a/src/backends/x11/standalone/x11_standalone_cursor.cpp +++ b/src/backends/x11/standalone/x11_standalone_cursor.cpp @@ -135,3 +135,5 @@ void X11Cursor::notifyCursorChanged() } } + +#include "moc_x11_standalone_cursor.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_edge.cpp b/src/backends/x11/standalone/x11_standalone_edge.cpp index 5c868dbc83..cdb79eddae 100644 --- a/src/backends/x11/standalone/x11_standalone_edge.cpp +++ b/src/backends/x11/standalone/x11_standalone_edge.cpp @@ -127,3 +127,5 @@ void WindowBasedEdge::doUpdateBlocking() } } + +#include "moc_x11_standalone_edge.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_effects.cpp b/src/backends/x11/standalone/x11_standalone_effects.cpp index f8fc3edcb2..0b1eee3f10 100644 --- a/src/backends/x11/standalone/x11_standalone_effects.cpp +++ b/src/backends/x11/standalone/x11_standalone_effects.cpp @@ -110,3 +110,5 @@ void EffectsHandlerImplX11::doCheckInputWindowStacking() } } + +#include "moc_x11_standalone_effects.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_egl_backend.cpp b/src/backends/x11/standalone/x11_standalone_egl_backend.cpp index fd68944127..c4ebffa2b4 100644 --- a/src/backends/x11/standalone/x11_standalone_egl_backend.cpp +++ b/src/backends/x11/standalone/x11_standalone_egl_backend.cpp @@ -474,3 +474,5 @@ void EglPixmapTexture::onDamage() } } // namespace KWin + +#include "moc_x11_standalone_egl_backend.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_glx_backend.cpp b/src/backends/x11/standalone/x11_standalone_glx_backend.cpp index cea481aa55..140864c3ab 100644 --- a/src/backends/x11/standalone/x11_standalone_glx_backend.cpp +++ b/src/backends/x11/standalone/x11_standalone_glx_backend.cpp @@ -944,3 +944,5 @@ void GlxPixmapTexture::onDamage() } } // namespace + +#include "moc_x11_standalone_glx_backend.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_omlsynccontrolvsyncmonitor.cpp b/src/backends/x11/standalone/x11_standalone_omlsynccontrolvsyncmonitor.cpp index f27ba1c751..61610b5d3b 100644 --- a/src/backends/x11/standalone/x11_standalone_omlsynccontrolvsyncmonitor.cpp +++ b/src/backends/x11/standalone/x11_standalone_omlsynccontrolvsyncmonitor.cpp @@ -151,3 +151,5 @@ void OMLSyncControlVsyncMonitor::arm() } } // namespace KWin + +#include "moc_x11_standalone_omlsynccontrolvsyncmonitor.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_output.cpp b/src/backends/x11/standalone/x11_standalone_output.cpp index dcf3620608..4b8f26e16d 100644 --- a/src/backends/x11/standalone/x11_standalone_output.cpp +++ b/src/backends/x11/standalone/x11_standalone_output.cpp @@ -68,3 +68,5 @@ void X11Output::updateEnabled(bool enabled) } } // namespace KWin + +#include "moc_x11_standalone_output.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp b/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp index 05176c8cb7..6bf8fcb028 100644 --- a/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp +++ b/src/backends/x11/standalone/x11_standalone_placeholderoutput.cpp @@ -46,3 +46,5 @@ void X11PlaceholderOutput::updateEnabled(bool enabled) } } // namespace KWin + +#include "moc_x11_standalone_placeholderoutput.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_sgivideosyncvsyncmonitor.cpp b/src/backends/x11/standalone/x11_standalone_sgivideosyncvsyncmonitor.cpp index c2b7ce8940..a79b687826 100644 --- a/src/backends/x11/standalone/x11_standalone_sgivideosyncvsyncmonitor.cpp +++ b/src/backends/x11/standalone/x11_standalone_sgivideosyncvsyncmonitor.cpp @@ -153,3 +153,5 @@ void SGIVideoSyncVsyncMonitor::arm() } } // namespace KWin + +#include "moc_x11_standalone_sgivideosyncvsyncmonitor.cpp" diff --git a/src/backends/x11/standalone/x11_standalone_xinputintegration.cpp b/src/backends/x11/standalone/x11_standalone_xinputintegration.cpp index 05b4e0ffb8..a3f235deed 100644 --- a/src/backends/x11/standalone/x11_standalone_xinputintegration.cpp +++ b/src/backends/x11/standalone/x11_standalone_xinputintegration.cpp @@ -286,3 +286,5 @@ void XInputIntegration::startListening() } } + +#include "moc_x11_standalone_xinputintegration.cpp" diff --git a/src/backends/x11/windowed/x11_windowed_backend.cpp b/src/backends/x11/windowed/x11_windowed_backend.cpp index 08d03030fa..3472da544e 100644 --- a/src/backends/x11/windowed/x11_windowed_backend.cpp +++ b/src/backends/x11/windowed/x11_windowed_backend.cpp @@ -819,3 +819,5 @@ EglDisplay *X11WindowedBackend::sceneEglDisplayObject() const } } // namespace KWin + +#include "moc_x11_windowed_backend.cpp" diff --git a/src/backends/x11/windowed/x11_windowed_egl_backend.cpp b/src/backends/x11/windowed/x11_windowed_egl_backend.cpp index b1ff8d7929..30dafd7dd1 100644 --- a/src/backends/x11/windowed/x11_windowed_egl_backend.cpp +++ b/src/backends/x11/windowed/x11_windowed_egl_backend.cpp @@ -281,3 +281,5 @@ std::pair, ColorDescription> X11WindowedEglBackend::t } } // namespace + +#include "moc_x11_windowed_egl_backend.cpp" diff --git a/src/backends/x11/windowed/x11_windowed_output.cpp b/src/backends/x11/windowed/x11_windowed_output.cpp index 9a6991261b..2797ab4bc4 100644 --- a/src/backends/x11/windowed/x11_windowed_output.cpp +++ b/src/backends/x11/windowed/x11_windowed_output.cpp @@ -474,3 +474,5 @@ xcb_pixmap_t X11WindowedOutput::importBuffer(GraphicsBuffer *graphicsBuffer) } } // namespace KWin + +#include "moc_x11_windowed_output.cpp" diff --git a/src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp b/src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp index 975f80f3b2..e9016248ef 100644 --- a/src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp +++ b/src/backends/x11/windowed/x11_windowed_qpainter_backend.cpp @@ -177,3 +177,5 @@ OutputLayer *X11WindowedQPainterBackend::cursorLayer(Output *output) } } + +#include "moc_x11_windowed_qpainter_backend.cpp" diff --git a/src/client_machine.cpp b/src/client_machine.cpp index 79cc02107d..ce8122001d 100644 --- a/src/client_machine.cpp +++ b/src/client_machine.cpp @@ -231,3 +231,5 @@ void ClientMachine::resolveFinished() } } // namespace + +#include "moc_client_machine.cpp" diff --git a/src/colors/colordevice.cpp b/src/colors/colordevice.cpp index d6aaf2ac34..356cd20276 100644 --- a/src/colors/colordevice.cpp +++ b/src/colors/colordevice.cpp @@ -329,3 +329,5 @@ void ColorDevice::scheduleUpdate() } } // namespace KWin + +#include "moc_colordevice.cpp" diff --git a/src/colors/colormanager.cpp b/src/colors/colormanager.cpp index 6be36158ec..727d058d7a 100644 --- a/src/colors/colormanager.cpp +++ b/src/colors/colormanager.cpp @@ -85,3 +85,5 @@ void ColorManager::handleSessionActiveChanged(bool active) } } // namespace KWin + +#include "moc_colormanager.cpp" diff --git a/src/composite.cpp b/src/composite.cpp index 734e2fe096..a106209e43 100644 --- a/src/composite.cpp +++ b/src/composite.cpp @@ -1136,3 +1136,5 @@ void X11Compositor::createOpenGLSafePoint(OpenGLSafePoint safePoint) // included for CompositorSelectionOwner #include "composite.moc" + +#include "moc_composite.cpp" diff --git a/src/core/gbmgraphicsbufferallocator.cpp b/src/core/gbmgraphicsbufferallocator.cpp index 4bfce0961a..c108cf2421 100644 --- a/src/core/gbmgraphicsbufferallocator.cpp +++ b/src/core/gbmgraphicsbufferallocator.cpp @@ -298,3 +298,4 @@ void DumbGraphicsBuffer::unmap() } // namespace KWin #include "gbmgraphicsbufferallocator.moc" +#include "moc_gbmgraphicsbufferallocator.cpp" diff --git a/src/core/graphicsbuffer.cpp b/src/core/graphicsbuffer.cpp index 4bb2ed48ac..b5c59f6b43 100644 --- a/src/core/graphicsbuffer.cpp +++ b/src/core/graphicsbuffer.cpp @@ -80,3 +80,5 @@ bool GraphicsBuffer::alphaChannelFromDrmFormat(uint32_t format) } } // namespace KWin + +#include "moc_graphicsbuffer.cpp" diff --git a/src/core/inputbackend.cpp b/src/core/inputbackend.cpp index 16e150bf6c..5a89baf4c6 100644 --- a/src/core/inputbackend.cpp +++ b/src/core/inputbackend.cpp @@ -25,3 +25,5 @@ void InputBackend::setConfig(KSharedConfigPtr config) } } // namespace KWin + +#include "moc_inputbackend.cpp" diff --git a/src/core/inputdevice.cpp b/src/core/inputdevice.cpp index e758b320a6..f9bf6a3a3a 100644 --- a/src/core/inputdevice.cpp +++ b/src/core/inputdevice.cpp @@ -24,3 +24,5 @@ void InputDevice::setOutputName(const QString &outputName) } } // namespace KWin + +#include "moc_inputdevice.cpp" diff --git a/src/core/output.cpp b/src/core/output.cpp index b4a4ce0ec0..9f24aaadf4 100644 --- a/src/core/output.cpp +++ b/src/core/output.cpp @@ -460,3 +460,5 @@ bool Output::moveCursor(const QPointF &position) } } // namespace KWin + +#include "moc_output.cpp" diff --git a/src/core/outputbackend.cpp b/src/core/outputbackend.cpp index 3cefcda8b6..c6e8a18e19 100644 --- a/src/core/outputbackend.cpp +++ b/src/core/outputbackend.cpp @@ -128,3 +128,5 @@ void OutputBackend::setSceneEglGlobalShareContext(::EGLContext context) } } // namespace KWin + +#include "moc_outputbackend.cpp" diff --git a/src/core/outputlayer.cpp b/src/core/outputlayer.cpp index cb6d02f6cc..d626df8501 100644 --- a/src/core/outputlayer.cpp +++ b/src/core/outputlayer.cpp @@ -65,3 +65,5 @@ bool OutputLayer::scanout(SurfaceItem *surfaceItem) } } // namespace KWin + +#include "moc_outputlayer.cpp" diff --git a/src/core/renderbackend.cpp b/src/core/renderbackend.cpp index db81a60707..8a5339b994 100644 --- a/src/core/renderbackend.cpp +++ b/src/core/renderbackend.cpp @@ -58,3 +58,5 @@ std::unique_ptr RenderBackend::createSurfaceTextureWayland(Surfa } } // namespace KWin + +#include "moc_renderbackend.cpp" diff --git a/src/core/renderlayer.cpp b/src/core/renderlayer.cpp index cba63b3c96..9e1dd60521 100644 --- a/src/core/renderlayer.cpp +++ b/src/core/renderlayer.cpp @@ -294,3 +294,5 @@ QRegion RenderLayer::mapFromGlobal(const QRegion ®ion) const } } // namespace KWin + +#include "moc_renderlayer.cpp" diff --git a/src/core/renderloop.cpp b/src/core/renderloop.cpp index 9362532c20..f8dc4fcea3 100644 --- a/src/core/renderloop.cpp +++ b/src/core/renderloop.cpp @@ -281,3 +281,5 @@ void RenderLoop::setVrrPolicy(VrrPolicy policy) } } // namespace KWin + +#include "moc_renderloop.cpp" diff --git a/src/core/session.cpp b/src/core/session.cpp index 0e0b7f4578..bfb3274552 100644 --- a/src/core/session.cpp +++ b/src/core/session.cpp @@ -44,3 +44,5 @@ std::unique_ptr Session::create(Type type) } } // namespace KWin + +#include "moc_session.cpp" diff --git a/src/core/session_consolekit.cpp b/src/core/session_consolekit.cpp index 94c07642b7..c8db6ab599 100644 --- a/src/core/session_consolekit.cpp +++ b/src/core/session_consolekit.cpp @@ -349,3 +349,5 @@ void ConsoleKitSession::handlePrepareForSleep(bool sleep) } } // namespace KWin + +#include "moc_session_consolekit.cpp" diff --git a/src/core/session_logind.cpp b/src/core/session_logind.cpp index 6087e09fe2..13db3a5d74 100644 --- a/src/core/session_logind.cpp +++ b/src/core/session_logind.cpp @@ -348,3 +348,5 @@ void LogindSession::handlePrepareForSleep(bool sleep) } } // namespace KWin + +#include "moc_session_logind.cpp" diff --git a/src/core/session_noop.cpp b/src/core/session_noop.cpp index 82d250059f..752cd8fd1d 100644 --- a/src/core/session_noop.cpp +++ b/src/core/session_noop.cpp @@ -52,3 +52,5 @@ void NoopSession::switchTo(uint terminal) } } // namespace KWin + +#include "moc_session_noop.cpp" diff --git a/src/core/shmgraphicsbufferallocator.cpp b/src/core/shmgraphicsbufferallocator.cpp index b48dcef012..990fbffc4a 100644 --- a/src/core/shmgraphicsbufferallocator.cpp +++ b/src/core/shmgraphicsbufferallocator.cpp @@ -150,4 +150,5 @@ GraphicsBuffer *ShmGraphicsBufferAllocator::allocate(const GraphicsBufferOptions } // namespace KWin +#include "moc_shmgraphicsbufferallocator.cpp" #include "shmgraphicsbufferallocator.moc" diff --git a/src/cursor.cpp b/src/cursor.cpp index 9c30b560cc..28f68b2ff6 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -697,3 +697,5 @@ void Cursor::setSource(CursorSource *source) } } // namespace + +#include "moc_cursor.cpp" diff --git a/src/cursorsource.cpp b/src/cursorsource.cpp index 4c8497d9f5..78d6c78b33 100644 --- a/src/cursorsource.cpp +++ b/src/cursorsource.cpp @@ -161,3 +161,5 @@ void SurfaceCursorSource::update(KWaylandServer::SurfaceInterface *surface, cons } } // namespace KWin + +#include "moc_cursorsource.cpp" diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp index b8486d0af3..7adeb3ad12 100644 --- a/src/dbusinterface.cpp +++ b/src/dbusinterface.cpp @@ -532,3 +532,5 @@ void PluginManagerDBusInterface::UnloadPlugin(const QString &name) } } // namespace + +#include "moc_dbusinterface.cpp" diff --git a/src/debug_console.cpp b/src/debug_console.cpp index 8931b20dd2..da97ae2093 100644 --- a/src/debug_console.cpp +++ b/src/debug_console.cpp @@ -1685,3 +1685,5 @@ void DataSourceModel::setSource(KWaylandServer::AbstractDataSource *source) endResetModel(); } } + +#include "moc_debug_console.cpp" diff --git a/src/decorations/decoratedclient.cpp b/src/decorations/decoratedclient.cpp index 58486a84b8..01b8122d58 100644 --- a/src/decorations/decoratedclient.cpp +++ b/src/decorations/decoratedclient.cpp @@ -343,3 +343,5 @@ QString DecoratedClientImpl::windowClass() const } } + +#include "moc_decoratedclient.cpp" diff --git a/src/decorations/decorationbridge.cpp b/src/decorations/decorationbridge.cpp index d30847e385..41172ca7d3 100644 --- a/src/decorations/decorationbridge.cpp +++ b/src/decorations/decorationbridge.cpp @@ -289,3 +289,5 @@ QString DecorationBridge::supportInformation() const } // Decoration } // KWin + +#include "moc_decorationbridge.cpp" diff --git a/src/decorations/decorationpalette.cpp b/src/decorations/decorationpalette.cpp index cbbefa5465..d659269fd9 100644 --- a/src/decorations/decorationpalette.cpp +++ b/src/decorations/decorationpalette.cpp @@ -160,3 +160,5 @@ void DecorationPalette::update() } } + +#include "moc_decorationpalette.cpp" diff --git a/src/decorations/settings.cpp b/src/decorations/settings.cpp index bb11a41c2c..13e0c12490 100644 --- a/src/decorations/settings.cpp +++ b/src/decorations/settings.cpp @@ -177,3 +177,5 @@ void SettingsImpl::readSettings() } } + +#include "moc_settings.cpp" diff --git a/src/effectloader.cpp b/src/effectloader.cpp index 4724666f3b..bc81c04303 100644 --- a/src/effectloader.cpp +++ b/src/effectloader.cpp @@ -417,3 +417,5 @@ void EffectLoader::clear() } } // namespace KWin + +#include "moc_effectloader.cpp" diff --git a/src/effects.cpp b/src/effects.cpp index 0b3867e729..2ea83df9d3 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -2513,3 +2513,5 @@ void EffectFrameImpl::setCrossFadeProgress(qreal progress) } } // namespace + +#include "moc_effects.cpp" diff --git a/src/focuschain.cpp b/src/focuschain.cpp index bbdbe080c3..96a4e87a80 100644 --- a/src/focuschain.cpp +++ b/src/focuschain.cpp @@ -236,3 +236,5 @@ bool FocusChain::contains(Window *window, VirtualDesktop *desktop) const } } // namespace + +#include "moc_focuschain.cpp" diff --git a/src/ftrace.cpp b/src/ftrace.cpp index 525a74b1c0..20076e44f1 100644 --- a/src/ftrace.cpp +++ b/src/ftrace.cpp @@ -119,3 +119,5 @@ FTraceDuration::~FTraceDuration() } } + +#include "moc_ftrace.cpp" diff --git a/src/gestures.cpp b/src/gestures.cpp index a324d26e3d..93266476cf 100644 --- a/src/gestures.cpp +++ b/src/gestures.cpp @@ -579,3 +579,5 @@ int GestureRecognizer::startSwipeGesture(const QPointF &startPos) } } + +#include "moc_gestures.cpp" diff --git a/src/globalshortcuts.cpp b/src/globalshortcuts.cpp index b75095bfde..179ceab00e 100644 --- a/src/globalshortcuts.cpp +++ b/src/globalshortcuts.cpp @@ -302,3 +302,5 @@ void GlobalShortcutsManager::processPinchEnd() } } // namespace + +#include "moc_globalshortcuts.cpp" diff --git a/src/idle_inhibition.cpp b/src/idle_inhibition.cpp index 93ad0fac8e..43a9676361 100644 --- a/src/idle_inhibition.cpp +++ b/src/idle_inhibition.cpp @@ -94,3 +94,5 @@ void IdleInhibition::slotDesktopChanged() } } + +#include "moc_idle_inhibition.cpp" diff --git a/src/idledetector.cpp b/src/idledetector.cpp index e30452df8e..ab6949f064 100644 --- a/src/idledetector.cpp +++ b/src/idledetector.cpp @@ -72,3 +72,5 @@ void IdleDetector::markAsResumed() } } // namespace KWin + +#include "moc_idledetector.cpp" diff --git a/src/input.cpp b/src/input.cpp index 47d27e23a2..37389cbb44 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -3449,3 +3449,5 @@ Decoration::DecoratedClientImpl *InputDeviceHandler::decoration() const } // namespace #include "input.moc" + +#include "moc_input.cpp" diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index 166322fc62..b5ddc5160a 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -977,3 +977,5 @@ void InputMethod::textInputInterfaceV3EnableRequested() show(); } } + +#include "moc_inputmethod.cpp" diff --git a/src/inputpanelv1integration.cpp b/src/inputpanelv1integration.cpp index 8bd93eba94..85bc0d0fe6 100644 --- a/src/inputpanelv1integration.cpp +++ b/src/inputpanelv1integration.cpp @@ -30,3 +30,5 @@ void InputPanelV1Integration::createWindow(InputPanelSurfaceV1Interface *shellSu } } // namespace KWin + +#include "moc_inputpanelv1integration.cpp" diff --git a/src/inputpanelv1window.cpp b/src/inputpanelv1window.cpp index 9503c4ab91..f76a4521e2 100644 --- a/src/inputpanelv1window.cpp +++ b/src/inputpanelv1window.cpp @@ -197,3 +197,5 @@ void InputPanelV1Window::maybeShow() } } // namespace KWin + +#include "moc_inputpanelv1window.cpp" diff --git a/src/internalwindow.cpp b/src/internalwindow.cpp index e76fb3bf49..1881e86be3 100644 --- a/src/internalwindow.cpp +++ b/src/internalwindow.cpp @@ -536,3 +536,5 @@ void InternalWindow::updateInternalWindowGeometry() } } + +#include "moc_internalwindow.cpp" diff --git a/src/kcms/common/effectsmodel.cpp b/src/kcms/common/effectsmodel.cpp index 8ac402ad69..470b7048fd 100644 --- a/src/kcms/common/effectsmodel.cpp +++ b/src/kcms/common/effectsmodel.cpp @@ -603,3 +603,5 @@ bool EffectsModel::shouldStore(const EffectData &data) const } } + +#include "moc_effectsmodel.cpp" diff --git a/src/kcms/common/genericscriptedconfig.cpp b/src/kcms/common/genericscriptedconfig.cpp index 0e429e1d88..57c04cd4c4 100644 --- a/src/kcms/common/genericscriptedconfig.cpp +++ b/src/kcms/common/genericscriptedconfig.cpp @@ -181,3 +181,5 @@ void ScriptingConfig::reload() } } // namespace + +#include "moc_genericscriptedconfig.cpp" diff --git a/src/kcms/compositing/kwincompositingdata.cpp b/src/kcms/compositing/kwincompositingdata.cpp index a36ea93943..0238462749 100644 --- a/src/kcms/compositing/kwincompositingdata.cpp +++ b/src/kcms/compositing/kwincompositingdata.cpp @@ -30,3 +30,5 @@ bool KWinCompositingData::isDefaults() const } return defaults; } + +#include "moc_kwincompositingdata.cpp" diff --git a/src/kcms/decoration/declarative-plugin/buttonsmodel.cpp b/src/kcms/decoration/declarative-plugin/buttonsmodel.cpp index b39cc61bd7..1a4b12a52b 100644 --- a/src/kcms/decoration/declarative-plugin/buttonsmodel.cpp +++ b/src/kcms/decoration/declarative-plugin/buttonsmodel.cpp @@ -180,3 +180,5 @@ void ButtonsModel::replace(const QVector &buttons) } } + +#include "moc_buttonsmodel.cpp" diff --git a/src/kcms/decoration/declarative-plugin/plugin.cpp b/src/kcms/decoration/declarative-plugin/plugin.cpp index a31c511093..ab87d52e4a 100644 --- a/src/kcms/decoration/declarative-plugin/plugin.cpp +++ b/src/kcms/decoration/declarative-plugin/plugin.cpp @@ -35,3 +35,5 @@ void Plugin::registerTypes(const char *uri) } } + +#include "moc_plugin.cpp" diff --git a/src/kcms/decoration/declarative-plugin/previewbridge.cpp b/src/kcms/decoration/declarative-plugin/previewbridge.cpp index 3543a022d6..c3987225bc 100644 --- a/src/kcms/decoration/declarative-plugin/previewbridge.cpp +++ b/src/kcms/decoration/declarative-plugin/previewbridge.cpp @@ -227,3 +227,5 @@ BridgeItem::~BridgeItem() } } + +#include "moc_previewbridge.cpp" diff --git a/src/kcms/decoration/declarative-plugin/previewsettings.cpp b/src/kcms/decoration/declarative-plugin/previewsettings.cpp index 7c57eddcf7..c9f2a02aa0 100644 --- a/src/kcms/decoration/declarative-plugin/previewsettings.cpp +++ b/src/kcms/decoration/declarative-plugin/previewsettings.cpp @@ -260,3 +260,5 @@ void Settings::setBorderSizesIndex(int index) } } + +#include "moc_previewsettings.cpp" diff --git a/src/kcms/decoration/decorationmodel.cpp b/src/kcms/decoration/decorationmodel.cpp index 7beb62f6d2..9c10adc16a 100644 --- a/src/kcms/decoration/decorationmodel.cpp +++ b/src/kcms/decoration/decorationmodel.cpp @@ -166,3 +166,5 @@ QModelIndex DecorationsModel::findDecoration(const QString &pluginName, const QS } } + +#include "moc_decorationmodel.cpp" diff --git a/src/kcms/desktop/animationsmodel.cpp b/src/kcms/desktop/animationsmodel.cpp index bea78b875a..8127359b43 100644 --- a/src/kcms/desktop/animationsmodel.cpp +++ b/src/kcms/desktop/animationsmodel.cpp @@ -174,3 +174,5 @@ bool AnimationsModel::needsSave() const } } + +#include "moc_animationsmodel.cpp" diff --git a/src/kcms/desktop/desktopsmodel.cpp b/src/kcms/desktop/desktopsmodel.cpp index 13b5018e1f..fcc633f91f 100644 --- a/src/kcms/desktop/desktopsmodel.cpp +++ b/src/kcms/desktop/desktopsmodel.cpp @@ -684,3 +684,5 @@ void DesktopsModel::handleCallError() } } + +#include "moc_desktopsmodel.cpp" diff --git a/src/kcms/desktop/virtualdesktopsdata.cpp b/src/kcms/desktop/virtualdesktopsdata.cpp index 11fdd5b92c..78c1b66baa 100644 --- a/src/kcms/desktop/virtualdesktopsdata.cpp +++ b/src/kcms/desktop/virtualdesktopsdata.cpp @@ -50,3 +50,5 @@ AnimationsModel *VirtualDesktopsData::animationsModel() const } } + +#include "moc_virtualdesktopsdata.cpp" diff --git a/src/kcms/effects/desktopeffectsdata.cpp b/src/kcms/effects/desktopeffectsdata.cpp index 45c0b98efd..7a2fb18467 100644 --- a/src/kcms/effects/desktopeffectsdata.cpp +++ b/src/kcms/effects/desktopeffectsdata.cpp @@ -31,3 +31,5 @@ bool DesktopEffectsData::isDefaults() const } } + +#include "moc_desktopeffectsdata.cpp" diff --git a/src/kcms/effects/effectsfilterproxymodel.cpp b/src/kcms/effects/effectsfilterproxymodel.cpp index 745915262d..fc88ad19a1 100644 --- a/src/kcms/effects/effectsfilterproxymodel.cpp +++ b/src/kcms/effects/effectsfilterproxymodel.cpp @@ -89,3 +89,5 @@ bool EffectsFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex } } // namespace KWin + +#include "moc_effectsfilterproxymodel.cpp" diff --git a/src/kcms/effects/kcm.cpp b/src/kcms/effects/kcm.cpp index 09f1ccb799..535d376e9c 100644 --- a/src/kcms/effects/kcm.cpp +++ b/src/kcms/effects/kcm.cpp @@ -88,3 +88,5 @@ void DesktopEffectsKCM::updateNeedsSave() } // namespace KWin #include "kcm.moc" + +#include "moc_kcm.cpp" diff --git a/src/kcms/options/main.cpp b/src/kcms/options/main.cpp index 23ccb45d0f..9d865768be 100644 --- a/src/kcms/options/main.cpp +++ b/src/kcms/options/main.cpp @@ -223,3 +223,5 @@ void KActionsOptions::moduleChanged(bool state) } #include "main.moc" + +#include "moc_main.cpp" diff --git a/src/kcms/options/mouse.cpp b/src/kcms/options/mouse.cpp index b4be280c81..8756edb402 100644 --- a/src/kcms/options/mouse.cpp +++ b/src/kcms/options/mouse.cpp @@ -99,3 +99,5 @@ bool KWindowActionsConfig::isSaveNeeded() const { return managedWidgetChangeState(); } + +#include "moc_mouse.cpp" diff --git a/src/kcms/options/windows.cpp b/src/kcms/options/windows.cpp index 863d38ed11..3096955544 100644 --- a/src/kcms/options/windows.cpp +++ b/src/kcms/options/windows.cpp @@ -317,3 +317,5 @@ bool KMovingConfig::isSaveNeeded() const { return managedWidgetChangeState(); } + +#include "moc_windows.cpp" diff --git a/src/kcms/rules/kcmrules.cpp b/src/kcms/rules/kcmrules.cpp index 056372a147..e689075864 100644 --- a/src/kcms/rules/kcmrules.cpp +++ b/src/kcms/rules/kcmrules.cpp @@ -477,3 +477,5 @@ K_PLUGIN_CLASS_WITH_JSON(KCMKWinRules, "kcm_kwinrules.json"); } // namespace #include "kcmrules.moc" + +#include "moc_kcmrules.cpp" diff --git a/src/kcms/rules/optionsmodel.cpp b/src/kcms/rules/optionsmodel.cpp index cb2ae0bac4..0c62aef5e7 100644 --- a/src/kcms/rules/optionsmodel.cpp +++ b/src/kcms/rules/optionsmodel.cpp @@ -245,3 +245,5 @@ QList RulePolicy::policyOptions(RulePolicy::Type type) } } // namespace + +#include "moc_optionsmodel.cpp" diff --git a/src/kcms/rules/rulebookmodel.cpp b/src/kcms/rules/rulebookmodel.cpp index 8bb4f98fe6..849f99729b 100644 --- a/src/kcms/rules/rulebookmodel.cpp +++ b/src/kcms/rules/rulebookmodel.cpp @@ -191,3 +191,5 @@ void RuleBookModel::copySettingsTo(RuleSettings *dest, const RuleSettings &sourc } } // namespace + +#include "moc_rulebookmodel.cpp" diff --git a/src/kcms/rules/ruleitem.cpp b/src/kcms/rules/ruleitem.cpp index 2ddfd066ae..e9d37ea5f5 100644 --- a/src/kcms/rules/ruleitem.cpp +++ b/src/kcms/rules/ruleitem.cpp @@ -204,3 +204,5 @@ QVariant RuleItem::typedValue(const QVariant &value) const } } // namespace + +#include "moc_ruleitem.cpp" diff --git a/src/kcms/rules/rulesmodel.cpp b/src/kcms/rules/rulesmodel.cpp index 2c8e36373f..b3532a7168 100644 --- a/src/kcms/rules/rulesmodel.cpp +++ b/src/kcms/rules/rulesmodel.cpp @@ -961,3 +961,5 @@ void RulesModel::updateVirtualDesktops() } } // namespace + +#include "moc_rulesmodel.cpp" diff --git a/src/kcms/screenedges/kwinscreenedge.cpp b/src/kcms/screenedges/kwinscreenedge.cpp index 2813efef44..719dcc0c9f 100644 --- a/src/kcms/screenedges/kwinscreenedge.cpp +++ b/src/kcms/screenedges/kwinscreenedge.cpp @@ -220,3 +220,5 @@ bool KWinScreenEdge::isDefault() const } } // namespace + +#include "moc_kwinscreenedge.cpp" diff --git a/src/kcms/screenedges/kwinscreenedgeconfigform.cpp b/src/kcms/screenedges/kwinscreenedgeconfigform.cpp index 95fcd3486f..f217e77cf0 100644 --- a/src/kcms/screenedges/kwinscreenedgeconfigform.cpp +++ b/src/kcms/screenedges/kwinscreenedgeconfigform.cpp @@ -131,3 +131,5 @@ void KWinScreenEdgesConfigForm::updateDefaultIndicators() } } // namespace + +#include "moc_kwinscreenedgeconfigform.cpp" diff --git a/src/kcms/screenedges/kwintouchscreenedgeconfigform.cpp b/src/kcms/screenedges/kwintouchscreenedgeconfigform.cpp index fa2b6c12f1..950b335b22 100644 --- a/src/kcms/screenedges/kwintouchscreenedgeconfigform.cpp +++ b/src/kcms/screenedges/kwintouchscreenedgeconfigform.cpp @@ -29,3 +29,5 @@ Monitor *KWinTouchScreenEdgeConfigForm::monitor() const } } // namespace + +#include "moc_kwintouchscreenedgeconfigform.cpp" diff --git a/src/kcms/screenedges/main.cpp b/src/kcms/screenedges/main.cpp index 469a516e75..d7c3b2857b 100644 --- a/src/kcms/screenedges/main.cpp +++ b/src/kcms/screenedges/main.cpp @@ -354,3 +354,5 @@ QString KWinScreenEdgesConfig::electricBorderActionToString(int action) } // namespace #include "main.moc" + +#include "moc_main.cpp" diff --git a/src/kcms/screenedges/monitor.cpp b/src/kcms/screenedges/monitor.cpp index a5f0cc8ffa..327938eb2e 100644 --- a/src/kcms/screenedges/monitor.cpp +++ b/src/kcms/screenedges/monitor.cpp @@ -284,3 +284,5 @@ bool Monitor::Corner::active() const return m_active; } } // namespace + +#include "moc_monitor.cpp" diff --git a/src/kcms/screenedges/touch.cpp b/src/kcms/screenedges/touch.cpp index 646de0c62a..b89bb9e7c6 100644 --- a/src/kcms/screenedges/touch.cpp +++ b/src/kcms/screenedges/touch.cpp @@ -320,3 +320,5 @@ QString KWinScreenEdgesConfig::electricBorderActionToString(int action) } // namespace #include "touch.moc" + +#include "moc_touch.cpp" diff --git a/src/kcms/scripts/kwinscriptsdata.cpp b/src/kcms/scripts/kwinscriptsdata.cpp index 2c00364fca..cdcde73f0a 100644 --- a/src/kcms/scripts/kwinscriptsdata.cpp +++ b/src/kcms/scripts/kwinscriptsdata.cpp @@ -40,3 +40,5 @@ bool KWinScriptsData::isDefaults() const return true; } + +#include "moc_kwinscriptsdata.cpp" diff --git a/src/kcms/scripts/module.cpp b/src/kcms/scripts/module.cpp index 4e6d12b41e..a3527bfd30 100644 --- a/src/kcms/scripts/module.cpp +++ b/src/kcms/scripts/module.cpp @@ -146,3 +146,5 @@ K_PLUGIN_FACTORY_WITH_JSON(KcmKWinScriptsFactory, "kcm_kwin_scripts.json", registerPlugin();) #include "module.moc" + +#include "moc_module.cpp" diff --git a/src/kcms/tabbox/kwintabboxconfigform.cpp b/src/kcms/tabbox/kwintabboxconfigform.cpp index afd16801e5..30935edfa4 100644 --- a/src/kcms/tabbox/kwintabboxconfigform.cpp +++ b/src/kcms/tabbox/kwintabboxconfigform.cpp @@ -396,3 +396,5 @@ void KWinTabBoxConfigForm::applyDefaultIndicator(QList widgets, bool } } // namespace + +#include "moc_kwintabboxconfigform.cpp" diff --git a/src/kcms/tabbox/kwintabboxdata.cpp b/src/kcms/tabbox/kwintabboxdata.cpp index 0edc65b438..86def04499 100644 --- a/src/kcms/tabbox/kwintabboxdata.cpp +++ b/src/kcms/tabbox/kwintabboxdata.cpp @@ -52,3 +52,5 @@ ShortcutSettings *KWinTabboxData::shortcutConfig() const } } } + +#include "moc_kwintabboxdata.cpp" diff --git a/src/kcms/tabbox/layoutpreview.cpp b/src/kcms/tabbox/layoutpreview.cpp index 5a94dd9a5d..43b938b108 100644 --- a/src/kcms/tabbox/layoutpreview.cpp +++ b/src/kcms/tabbox/layoutpreview.cpp @@ -253,3 +253,5 @@ void SwitcherItem::decrementIndex() } // namespace KWin } // namespace TabBox + +#include "moc_layoutpreview.cpp" diff --git a/src/kcms/tabbox/main.cpp b/src/kcms/tabbox/main.cpp index 2758a2e56f..1a8f50a963 100644 --- a/src/kcms/tabbox/main.cpp +++ b/src/kcms/tabbox/main.cpp @@ -281,3 +281,5 @@ void KWinTabBoxConfig::configureEffectClicked() } // namespace #include "main.moc" + +#include "moc_main.cpp" diff --git a/src/kcms/tabbox/thumbnailitem.cpp b/src/kcms/tabbox/thumbnailitem.cpp index b868fe6ef8..46426e8ed8 100644 --- a/src/kcms/tabbox/thumbnailitem.cpp +++ b/src/kcms/tabbox/thumbnailitem.cpp @@ -109,3 +109,5 @@ void WindowThumbnailItem::setSourceSize(const QSize &size) } } // namespace KWin + +#include "moc_thumbnailitem.cpp" diff --git a/src/kcms/xwayland/kcmkwinxwayland.cpp b/src/kcms/xwayland/kcmkwinxwayland.cpp index ccfe1702de..fc2337e3c0 100644 --- a/src/kcms/xwayland/kcmkwinxwayland.cpp +++ b/src/kcms/xwayland/kcmkwinxwayland.cpp @@ -28,3 +28,5 @@ KcmXwayland::KcmXwayland(QObject *parent, const KPluginMetaData &metaData) KcmXwayland::~KcmXwayland() = default; #include "kcmkwinxwayland.moc" + +#include "moc_kcmkwinxwayland.cpp" diff --git a/src/keyboard_input.cpp b/src/keyboard_input.cpp index 0bef888a23..95139db03c 100644 --- a/src/keyboard_input.cpp +++ b/src/keyboard_input.cpp @@ -278,3 +278,5 @@ void KeyboardInputRedirection::processKey(uint32_t key, InputRedirection::Keyboa } } + +#include "moc_keyboard_input.cpp" diff --git a/src/keyboard_layout.cpp b/src/keyboard_layout.cpp index 163a5d2461..429b5f4a6b 100644 --- a/src/keyboard_layout.cpp +++ b/src/keyboard_layout.cpp @@ -252,3 +252,5 @@ const QDBusArgument &operator>>(const QDBusArgument &argument, KeyboardLayoutDBu } } + +#include "moc_keyboard_layout.cpp" diff --git a/src/keyboard_layout_switching.cpp b/src/keyboard_layout_switching.cpp index 72397fb004..bf7d98c0b5 100644 --- a/src/keyboard_layout_switching.cpp +++ b/src/keyboard_layout_switching.cpp @@ -327,3 +327,5 @@ void ApplicationPolicy::layoutChanged(uint index) } } + +#include "moc_keyboard_layout_switching.cpp" diff --git a/src/keyboard_repeat.cpp b/src/keyboard_repeat.cpp index 92efaa2958..550ec7812c 100644 --- a/src/keyboard_repeat.cpp +++ b/src/keyboard_repeat.cpp @@ -61,3 +61,5 @@ void KeyboardRepeat::keyEvent(KeyEvent *event) } } + +#include "moc_keyboard_repeat.cpp" diff --git a/src/layershellv1integration.cpp b/src/layershellv1integration.cpp index 3d9f02a326..fc36661ebb 100644 --- a/src/layershellv1integration.cpp +++ b/src/layershellv1integration.cpp @@ -218,3 +218,5 @@ void LayerShellV1Integration::scheduleRearrange() } } // namespace KWin + +#include "moc_layershellv1integration.cpp" diff --git a/src/layershellv1window.cpp b/src/layershellv1window.cpp index d8fe017f30..9ffe616bf4 100644 --- a/src/layershellv1window.cpp +++ b/src/layershellv1window.cpp @@ -341,3 +341,5 @@ void LayerShellV1Window::deactivateScreenEdge() } } // namespace KWin + +#include "moc_layershellv1window.cpp" diff --git a/src/libkwineffects/effecttogglablestate.cpp b/src/libkwineffects/effecttogglablestate.cpp index 44eff0bd5e..109e9a5cbd 100644 --- a/src/libkwineffects/effecttogglablestate.cpp +++ b/src/libkwineffects/effecttogglablestate.cpp @@ -245,3 +245,5 @@ void EffectTogglableTouchBorder::setBorders(const QList &touchActivateBorde } } + +#include "moc_effecttogglablestate.cpp" diff --git a/src/libkwineffects/kwinoffscreeneffect.cpp b/src/libkwineffects/kwinoffscreeneffect.cpp index 7b4f80b8de..46f1249b99 100644 --- a/src/libkwineffects/kwinoffscreeneffect.cpp +++ b/src/libkwineffects/kwinoffscreeneffect.cpp @@ -400,3 +400,5 @@ void CrossFadeEffect::setShader(EffectWindow *window, GLShader *shader) } } // namespace KWin + +#include "moc_kwinoffscreeneffect.cpp" diff --git a/src/libkwineffects/kwinoffscreenquickview.cpp b/src/libkwineffects/kwinoffscreenquickview.cpp index 96940a8d5b..f0fe103868 100644 --- a/src/libkwineffects/kwinoffscreenquickview.cpp +++ b/src/libkwineffects/kwinoffscreenquickview.cpp @@ -580,3 +580,5 @@ QQuickItem *OffscreenQuickScene::rootItem() const } } // namespace KWin + +#include "moc_kwinoffscreenquickview.cpp" diff --git a/src/lidswitchtracker.cpp b/src/lidswitchtracker.cpp index ba0dcb0765..b07d1c3688 100644 --- a/src/lidswitchtracker.cpp +++ b/src/lidswitchtracker.cpp @@ -35,3 +35,5 @@ void LidSwitchTracker::switchEvent(KWin::SwitchEvent *event) } } + +#include "moc_lidswitchtracker.cpp" diff --git a/src/main.cpp b/src/main.cpp index d6b161913a..5a0898516e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -738,3 +738,5 @@ void Application::startInteractivePositionSelection(std::function(role)).color(); } + +#include "moc_colorhelper.cpp" diff --git a/src/plugins/kdecorations/aurorae/src/config/auroraeconfig.cpp b/src/plugins/kdecorations/aurorae/src/config/auroraeconfig.cpp index 17921db1fa..fae078feda 100644 --- a/src/plugins/kdecorations/aurorae/src/config/auroraeconfig.cpp +++ b/src/plugins/kdecorations/aurorae/src/config/auroraeconfig.cpp @@ -122,3 +122,5 @@ void ConfigurationModule::initQml() } #include "auroraeconfig.moc" + +#include "moc_auroraeconfig.cpp" diff --git a/src/plugins/kdecorations/aurorae/src/decorationoptions.cpp b/src/plugins/kdecorations/aurorae/src/decorationoptions.cpp index bd1cbc0d39..fffd45af63 100644 --- a/src/plugins/kdecorations/aurorae/src/decorationoptions.cpp +++ b/src/plugins/kdecorations/aurorae/src/decorationoptions.cpp @@ -264,3 +264,5 @@ Borders::operator QMargins() const } } // namespace + +#include "moc_decorationoptions.cpp" diff --git a/src/plugins/kdecorations/aurorae/src/decorationplugin.cpp b/src/plugins/kdecorations/aurorae/src/decorationplugin.cpp index 75f14c4235..5cb3e6830c 100644 --- a/src/plugins/kdecorations/aurorae/src/decorationplugin.cpp +++ b/src/plugins/kdecorations/aurorae/src/decorationplugin.cpp @@ -15,3 +15,5 @@ void DecorationPlugin::registerTypes(const char *uri) qmlRegisterType(uri, 0, 1, "DecorationOptions"); qmlRegisterType(uri, 0, 1, "Borders"); } + +#include "moc_decorationplugin.cpp" diff --git a/src/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp b/src/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp index b28ef59f81..9dc21053e2 100644 --- a/src/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp +++ b/src/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp @@ -494,3 +494,5 @@ DecorationPosition AuroraeTheme::decorationPosition() const } } // namespace + +#include "moc_auroraetheme.cpp" diff --git a/src/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp b/src/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp index 407477963a..d117cad9fc 100644 --- a/src/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp +++ b/src/plugins/kdecorations/aurorae/themes/plastik/code/plastikplugin.cpp @@ -19,3 +19,5 @@ void PlastikPlugin::initializeEngine(QQmlEngine *engine, const char *uri) engine->addImageProvider(QLatin1String("plastik"), new KWin::PlastikButtonProvider()); QQmlExtensionPlugin::initializeEngine(engine, uri); } + +#include "moc_plastikplugin.cpp" diff --git a/src/plugins/kglobalaccel/kglobalaccel_plugin.cpp b/src/plugins/kglobalaccel/kglobalaccel_plugin.cpp index a14bcfd600..d13da224e0 100644 --- a/src/plugins/kglobalaccel/kglobalaccel_plugin.cpp +++ b/src/plugins/kglobalaccel/kglobalaccel_plugin.cpp @@ -51,3 +51,5 @@ bool KGlobalAccelImpl::checkKeyReleased(int keyQt) { return keyReleased(keyQt); } + +#include "moc_kglobalaccel_plugin.cpp" diff --git a/src/plugins/krunner-integration/windowsrunnerinterface.cpp b/src/plugins/krunner-integration/windowsrunnerinterface.cpp index ba342fbafd..b59d60bdcf 100644 --- a/src/plugins/krunner-integration/windowsrunnerinterface.cpp +++ b/src/plugins/krunner-integration/windowsrunnerinterface.cpp @@ -353,3 +353,5 @@ bool WindowsRunner::actionSupported(const Window *window, const WindowsRunnerAct } } + +#include "moc_windowsrunnerinterface.cpp" diff --git a/src/plugins/kscreen/kscreen.cpp b/src/plugins/kscreen/kscreen.cpp index addfc40a5a..11fd14d7ed 100644 --- a/src/plugins/kscreen/kscreen.cpp +++ b/src/plugins/kscreen/kscreen.cpp @@ -216,3 +216,5 @@ bool KscreenEffect::isScreenActive(EffectScreen *screen) const } } // namespace KWin + +#include "moc_kscreen.cpp" diff --git a/src/plugins/magiclamp/magiclamp.cpp b/src/plugins/magiclamp/magiclamp.cpp index 4c16c31a94..3742bd4b82 100644 --- a/src/plugins/magiclamp/magiclamp.cpp +++ b/src/plugins/magiclamp/magiclamp.cpp @@ -418,3 +418,5 @@ bool MagicLampEffect::isActive() const } } // namespace + +#include "moc_magiclamp.cpp" diff --git a/src/plugins/magiclamp/magiclamp_config.cpp b/src/plugins/magiclamp/magiclamp_config.cpp index 3df07dce99..b967dc82ad 100644 --- a/src/plugins/magiclamp/magiclamp_config.cpp +++ b/src/plugins/magiclamp/magiclamp_config.cpp @@ -54,3 +54,5 @@ void MagicLampEffectConfig::save() } // namespace #include "magiclamp_config.moc" + +#include "moc_magiclamp_config.cpp" diff --git a/src/plugins/magnifier/magnifier.cpp b/src/plugins/magnifier/magnifier.cpp index 50c99fb477..a18877db03 100644 --- a/src/plugins/magnifier/magnifier.cpp +++ b/src/plugins/magnifier/magnifier.cpp @@ -291,3 +291,5 @@ qreal MagnifierEffect::targetZoom() const } } // namespace + +#include "moc_magnifier.cpp" diff --git a/src/plugins/magnifier/magnifier_config.cpp b/src/plugins/magnifier/magnifier_config.cpp index 8ac72996c7..5ad98c529e 100644 --- a/src/plugins/magnifier/magnifier_config.cpp +++ b/src/plugins/magnifier/magnifier_config.cpp @@ -102,3 +102,5 @@ void MagnifierEffectConfig::defaults() } // namespace #include "magnifier_config.moc" + +#include "moc_magnifier_config.cpp" diff --git a/src/plugins/mouseclick/mouseclick.cpp b/src/plugins/mouseclick/mouseclick.cpp index 3b5772af27..71261fa914 100644 --- a/src/plugins/mouseclick/mouseclick.cpp +++ b/src/plugins/mouseclick/mouseclick.cpp @@ -412,3 +412,5 @@ bool MouseClickEffect::isEnabled() const } } // namespace + +#include "moc_mouseclick.cpp" diff --git a/src/plugins/mouseclick/mouseclick_config.cpp b/src/plugins/mouseclick/mouseclick_config.cpp index 2d10f4af4a..1c8d402166 100644 --- a/src/plugins/mouseclick/mouseclick_config.cpp +++ b/src/plugins/mouseclick/mouseclick_config.cpp @@ -78,3 +78,5 @@ void MouseClickEffectConfig::save() } // namespace #include "mouseclick_config.moc" + +#include "moc_mouseclick_config.cpp" diff --git a/src/plugins/mousemark/mousemark.cpp b/src/plugins/mousemark/mousemark.cpp index a1dfffacd4..f73d1a27a2 100644 --- a/src/plugins/mousemark/mousemark.cpp +++ b/src/plugins/mousemark/mousemark.cpp @@ -277,3 +277,5 @@ int MouseMarkEffect::requestedEffectChainPosition() const } } // namespace + +#include "moc_mousemark.cpp" diff --git a/src/plugins/mousemark/mousemark_config.cpp b/src/plugins/mousemark/mousemark_config.cpp index f31bea9efd..782be7e1bc 100644 --- a/src/plugins/mousemark/mousemark_config.cpp +++ b/src/plugins/mousemark/mousemark_config.cpp @@ -104,3 +104,5 @@ void MouseMarkEffectConfig::updateSpinBoxSuffix() } // namespace #include "mousemark_config.moc" + +#include "moc_mousemark_config.cpp" diff --git a/src/plugins/nightcolor/clockskewnotifier.cpp b/src/plugins/nightcolor/clockskewnotifier.cpp index 6c1f34cad3..93b25dd09c 100644 --- a/src/plugins/nightcolor/clockskewnotifier.cpp +++ b/src/plugins/nightcolor/clockskewnotifier.cpp @@ -76,3 +76,5 @@ void ClockSkewNotifier::setActive(bool set) } } // namespace KWin + +#include "moc_clockskewnotifier.cpp" diff --git a/src/plugins/nightcolor/clockskewnotifierengine.cpp b/src/plugins/nightcolor/clockskewnotifierengine.cpp index 6df89ba798..a4486945d8 100644 --- a/src/plugins/nightcolor/clockskewnotifierengine.cpp +++ b/src/plugins/nightcolor/clockskewnotifierengine.cpp @@ -27,3 +27,5 @@ ClockSkewNotifierEngine::ClockSkewNotifierEngine(QObject *parent) } } // namespace KWin + +#include "moc_clockskewnotifierengine_p.cpp" diff --git a/src/plugins/nightcolor/clockskewnotifierengine_linux.cpp b/src/plugins/nightcolor/clockskewnotifierengine_linux.cpp index e47f6d1260..e3e6c68cf6 100644 --- a/src/plugins/nightcolor/clockskewnotifierengine_linux.cpp +++ b/src/plugins/nightcolor/clockskewnotifierengine_linux.cpp @@ -54,3 +54,5 @@ void LinuxClockSkewNotifierEngine::handleTimerCancelled() } } // namespace KWin + +#include "moc_clockskewnotifierengine_linux.cpp" diff --git a/src/plugins/nightcolor/nightcolordbusinterface.cpp b/src/plugins/nightcolor/nightcolordbusinterface.cpp index 6526ba48f9..4bf9919c7f 100644 --- a/src/plugins/nightcolor/nightcolordbusinterface.cpp +++ b/src/plugins/nightcolor/nightcolordbusinterface.cpp @@ -305,3 +305,5 @@ void NightColorDBusInterface::stopPreview() } } + +#include "moc_nightcolordbusinterface.cpp" diff --git a/src/plugins/nightcolor/nightcolormanager.cpp b/src/plugins/nightcolor/nightcolormanager.cpp index 2b9a621429..9523c17f1f 100644 --- a/src/plugins/nightcolor/nightcolormanager.cpp +++ b/src/plugins/nightcolor/nightcolormanager.cpp @@ -710,3 +710,5 @@ void NightColorManager::setMode(NightColorMode mode) } } // namespace KWin + +#include "moc_nightcolormanager.cpp" diff --git a/src/plugins/outputlocator/outputlocator.cpp b/src/plugins/outputlocator/outputlocator.cpp index 2d79819ec6..ef1411eed5 100644 --- a/src/plugins/outputlocator/outputlocator.cpp +++ b/src/plugins/outputlocator/outputlocator.cpp @@ -116,3 +116,5 @@ void OutputLocatorEffect::paintScreen(const RenderTarget &renderTarget, const Re } } } + +#include "moc_outputlocator.cpp" diff --git a/src/plugins/overview/kcm/overvieweffectkcm.cpp b/src/plugins/overview/kcm/overvieweffectkcm.cpp index 4cd3bf96db..06521b4002 100644 --- a/src/plugins/overview/kcm/overvieweffectkcm.cpp +++ b/src/plugins/overview/kcm/overvieweffectkcm.cpp @@ -73,3 +73,5 @@ void OverviewEffectConfig::defaults() } // namespace KWin #include "overvieweffectkcm.moc" + +#include "moc_overvieweffectkcm.cpp" diff --git a/src/plugins/overview/overvieweffect.cpp b/src/plugins/overview/overvieweffect.cpp index 98087f6f6a..d4440bd039 100644 --- a/src/plugins/overview/overvieweffect.cpp +++ b/src/plugins/overview/overvieweffect.cpp @@ -166,3 +166,5 @@ void OverviewEffect::grabbedKeyboardEvent(QKeyEvent *keyEvent) } } // namespace KWin + +#include "moc_overvieweffect.cpp" diff --git a/src/plugins/private/expoarea.cpp b/src/plugins/private/expoarea.cpp index a7e004196f..689eab2be2 100644 --- a/src/plugins/private/expoarea.cpp +++ b/src/plugins/private/expoarea.cpp @@ -81,3 +81,5 @@ void ExpoArea::update() } } // namespace KWin + +#include "moc_expoarea.cpp" diff --git a/src/plugins/private/expolayout.cpp b/src/plugins/private/expolayout.cpp index b0c3704368..8219779d55 100644 --- a/src/plugins/private/expolayout.cpp +++ b/src/plugins/private/expolayout.cpp @@ -706,3 +706,5 @@ void ExpoLayout::resetTransformations() cell->setHeight(cell->naturalHeight()); } } + +#include "moc_expolayout.cpp" diff --git a/src/plugins/private/plugin.cpp b/src/plugins/private/plugin.cpp index aa6245894d..74d8abaafb 100644 --- a/src/plugins/private/plugin.cpp +++ b/src/plugins/private/plugin.cpp @@ -16,3 +16,5 @@ void EffectKitExtensionPlugin::registerTypes(const char *uri) qmlRegisterType(uri, 1, 0, "ExpoLayout"); qmlRegisterType(uri, 1, 0, "ExpoCell"); } + +#include "moc_plugin.cpp" diff --git a/src/plugins/qpa/integration.cpp b/src/plugins/qpa/integration.cpp index 526d939144..6865e18b02 100644 --- a/src/plugins/qpa/integration.cpp +++ b/src/plugins/qpa/integration.cpp @@ -207,3 +207,5 @@ QPlatformServices *Integration::services() const } } + +#include "moc_integration.cpp" diff --git a/src/plugins/qpa/screen.cpp b/src/plugins/qpa/screen.cpp index 34a206c248..52c9e617f9 100644 --- a/src/plugins/qpa/screen.cpp +++ b/src/plugins/qpa/screen.cpp @@ -118,3 +118,5 @@ QDpi PlaceholderScreen::logicalDpi() const } } + +#include "moc_screen.cpp" diff --git a/src/plugins/screencast/outputscreencastsource.cpp b/src/plugins/screencast/outputscreencastsource.cpp index ef2d8f3108..b363c8bced 100644 --- a/src/plugins/screencast/outputscreencastsource.cpp +++ b/src/plugins/screencast/outputscreencastsource.cpp @@ -82,3 +82,5 @@ uint OutputScreenCastSource::refreshRate() const } } // namespace KWin + +#include "moc_outputscreencastsource.cpp" diff --git a/src/plugins/screencast/pipewirecore.cpp b/src/plugins/screencast/pipewirecore.cpp index 6677791e7a..eabf89a852 100644 --- a/src/plugins/screencast/pipewirecore.cpp +++ b/src/plugins/screencast/pipewirecore.cpp @@ -107,3 +107,5 @@ std::shared_ptr PipeWireCore::self() } } // namespace KWin + +#include "moc_pipewirecore.cpp" diff --git a/src/plugins/screencast/regionscreencastsource.cpp b/src/plugins/screencast/regionscreencastsource.cpp index ff3811fad0..c4f9b1aa55 100644 --- a/src/plugins/screencast/regionscreencastsource.cpp +++ b/src/plugins/screencast/regionscreencastsource.cpp @@ -128,3 +128,5 @@ uint RegionScreenCastSource::refreshRate() const return ret; } } + +#include "moc_regionscreencastsource.cpp" diff --git a/src/plugins/screencast/screencastmanager.cpp b/src/plugins/screencast/screencastmanager.cpp index 2aebe4c542..562368e184 100644 --- a/src/plugins/screencast/screencastmanager.cpp +++ b/src/plugins/screencast/screencastmanager.cpp @@ -223,3 +223,5 @@ void ScreencastManager::integrateStreams(KWaylandServer::ScreencastStreamV1Inter } } // namespace KWin + +#include "moc_screencastmanager.cpp" diff --git a/src/plugins/screencast/screencastsource.cpp b/src/plugins/screencast/screencastsource.cpp index 3390c6690b..85daeff766 100644 --- a/src/plugins/screencast/screencastsource.cpp +++ b/src/plugins/screencast/screencastsource.cpp @@ -15,3 +15,5 @@ ScreenCastSource::ScreenCastSource(QObject *parent) } } // namespace KWin + +#include "moc_screencastsource.cpp" diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp index de1aa4b3b8..bb725162de 100644 --- a/src/plugins/screencast/screencaststream.cpp +++ b/src/plugins/screencast/screencaststream.cpp @@ -878,3 +878,5 @@ void ScreenCastStream::setCursorMode(KWaylandServer::ScreencastV1Interface::Curs } } // namespace KWin + +#include "moc_screencaststream.cpp" diff --git a/src/plugins/screencast/windowscreencastsource.cpp b/src/plugins/screencast/windowscreencastsource.cpp index abe4a6908f..4d40a2bc21 100644 --- a/src/plugins/screencast/windowscreencastsource.cpp +++ b/src/plugins/screencast/windowscreencastsource.cpp @@ -89,3 +89,5 @@ uint WindowScreenCastSource::refreshRate() const } } // namespace KWin + +#include "moc_windowscreencastsource.cpp" diff --git a/src/plugins/screenedge/screenedgeeffect.cpp b/src/plugins/screenedge/screenedgeeffect.cpp index dd95209ff0..998f4fc361 100644 --- a/src/plugins/screenedge/screenedgeeffect.cpp +++ b/src/plugins/screenedge/screenedgeeffect.cpp @@ -302,3 +302,5 @@ bool ScreenEdgeEffect::isActive() const } } // namespace + +#include "moc_screenedgeeffect.cpp" diff --git a/src/plugins/screenshot/screenshot.cpp b/src/plugins/screenshot/screenshot.cpp index 8646c041a4..2df03e1bd3 100644 --- a/src/plugins/screenshot/screenshot.cpp +++ b/src/plugins/screenshot/screenshot.cpp @@ -438,3 +438,5 @@ void ScreenShotEffect::handleWindowClosed(EffectWindow *window) } } // namespace KWin + +#include "moc_screenshot.cpp" diff --git a/src/plugins/screenshot/screenshotdbusinterface2.cpp b/src/plugins/screenshot/screenshotdbusinterface2.cpp index 95ff37b27f..c2fdcf92bb 100644 --- a/src/plugins/screenshot/screenshotdbusinterface2.cpp +++ b/src/plugins/screenshot/screenshotdbusinterface2.cpp @@ -606,3 +606,5 @@ void ScreenShotDBusInterface2::takeScreenShot(EffectWindow *window, ScreenShotFl } // namespace KWin #include "screenshotdbusinterface2.moc" + +#include "moc_screenshotdbusinterface2.cpp" diff --git a/src/plugins/screentransform/screentransform.cpp b/src/plugins/screentransform/screentransform.cpp index 634db36e42..b5ba085cba 100644 --- a/src/plugins/screentransform/screentransform.cpp +++ b/src/plugins/screentransform/screentransform.cpp @@ -265,3 +265,5 @@ bool ScreenTransformEffect::isActive() const } } // namespace KWin + +#include "moc_screentransform.cpp" diff --git a/src/plugins/sheet/sheet.cpp b/src/plugins/sheet/sheet.cpp index 7ca77645b2..a4f2c0db5f 100644 --- a/src/plugins/sheet/sheet.cpp +++ b/src/plugins/sheet/sheet.cpp @@ -228,3 +228,5 @@ bool SheetEffect::isSheetWindow(EffectWindow *w) const } } // namespace KWin + +#include "moc_sheet.cpp" diff --git a/src/plugins/showfps/showfpseffect.cpp b/src/plugins/showfps/showfpseffect.cpp index d01f81f174..97b0e5e85f 100644 --- a/src/plugins/showfps/showfpseffect.cpp +++ b/src/plugins/showfps/showfpseffect.cpp @@ -121,3 +121,5 @@ bool ShowFpsEffect::supported() } } // namespace KWin + +#include "moc_showfpseffect.cpp" diff --git a/src/plugins/showpaint/showpaint.cpp b/src/plugins/showpaint/showpaint.cpp index 440fa13fcc..27f2f842b6 100644 --- a/src/plugins/showpaint/showpaint.cpp +++ b/src/plugins/showpaint/showpaint.cpp @@ -112,3 +112,5 @@ void ShowPaintEffect::toggle() } } // namespace KWin + +#include "moc_showpaint.cpp" diff --git a/src/plugins/showpaint/showpaint_config.cpp b/src/plugins/showpaint/showpaint_config.cpp index 03663788c1..e51e79251e 100644 --- a/src/plugins/showpaint/showpaint_config.cpp +++ b/src/plugins/showpaint/showpaint_config.cpp @@ -66,3 +66,5 @@ void ShowPaintEffectConfig::defaults() } // namespace KWin #include "showpaint_config.moc" + +#include "moc_showpaint_config.cpp" diff --git a/src/plugins/slide/slide.cpp b/src/plugins/slide/slide.cpp index 852bf26624..a1c62751d7 100644 --- a/src/plugins/slide/slide.cpp +++ b/src/plugins/slide/slide.cpp @@ -516,3 +516,5 @@ QPointF SlideEffect::constrainToDrawableRange(QPointF p) } } // namespace KWin + +#include "moc_slide.cpp" diff --git a/src/plugins/slide/slide_config.cpp b/src/plugins/slide/slide_config.cpp index ccc9ba077d..dfac21402d 100644 --- a/src/plugins/slide/slide_config.cpp +++ b/src/plugins/slide/slide_config.cpp @@ -47,3 +47,5 @@ void SlideEffectConfig::save() } // namespace KWin #include "slide_config.moc" + +#include "moc_slide_config.cpp" diff --git a/src/plugins/slideback/slideback.cpp b/src/plugins/slideback/slideback.cpp index 1e36d5c042..780188900e 100644 --- a/src/plugins/slideback/slideback.cpp +++ b/src/plugins/slideback/slideback.cpp @@ -337,3 +337,5 @@ bool SlideBackEffect::isActive() const } } // Namespace + +#include "moc_slideback.cpp" diff --git a/src/plugins/slidingpopups/slidingpopups.cpp b/src/plugins/slidingpopups/slidingpopups.cpp index 6f20894d98..8398fc009e 100644 --- a/src/plugins/slidingpopups/slidingpopups.cpp +++ b/src/plugins/slidingpopups/slidingpopups.cpp @@ -584,3 +584,5 @@ bool SlidingPopupsEffect::isActive() const } } // namespace + +#include "moc_slidingpopups.cpp" diff --git a/src/plugins/snaphelper/snaphelper.cpp b/src/plugins/snaphelper/snaphelper.cpp index de54d53b00..f63123938a 100644 --- a/src/plugins/snaphelper/snaphelper.cpp +++ b/src/plugins/snaphelper/snaphelper.cpp @@ -266,3 +266,5 @@ bool SnapHelperEffect::isActive() const } } // namespace KWin + +#include "moc_snaphelper.cpp" diff --git a/src/plugins/startupfeedback/startupfeedback.cpp b/src/plugins/startupfeedback/startupfeedback.cpp index 2061034b94..b737b6b97b 100644 --- a/src/plugins/startupfeedback/startupfeedback.cpp +++ b/src/plugins/startupfeedback/startupfeedback.cpp @@ -442,3 +442,5 @@ bool StartupFeedbackEffect::isActive() const } } // namespace + +#include "moc_startupfeedback.cpp" diff --git a/src/plugins/stickykeys/stickykeys.cpp b/src/plugins/stickykeys/stickykeys.cpp index c4bc1370d7..a965bd4250 100644 --- a/src/plugins/stickykeys/stickykeys.cpp +++ b/src/plugins/stickykeys/stickykeys.cpp @@ -79,3 +79,5 @@ bool StickyKeysFilter::keyEvent(KWin::KeyEvent *event) return false; } + +#include "moc_stickykeys.cpp" diff --git a/src/plugins/thumbnailaside/thumbnailaside.cpp b/src/plugins/thumbnailaside/thumbnailaside.cpp index 512f462977..5548c21f70 100644 --- a/src/plugins/thumbnailaside/thumbnailaside.cpp +++ b/src/plugins/thumbnailaside/thumbnailaside.cpp @@ -193,3 +193,5 @@ bool ThumbnailAsideEffect::isActive() const } } // namespace + +#include "moc_thumbnailaside.cpp" diff --git a/src/plugins/thumbnailaside/thumbnailaside_config.cpp b/src/plugins/thumbnailaside/thumbnailaside_config.cpp index 19b3917c32..9dcc109e49 100644 --- a/src/plugins/thumbnailaside/thumbnailaside_config.cpp +++ b/src/plugins/thumbnailaside/thumbnailaside_config.cpp @@ -83,3 +83,5 @@ void ThumbnailAsideEffectConfig::save() } // namespace #include "thumbnailaside_config.moc" + +#include "moc_thumbnailaside_config.cpp" diff --git a/src/plugins/tileseditor/kcm/tileseditoreffectkcm.cpp b/src/plugins/tileseditor/kcm/tileseditoreffectkcm.cpp index 90723c30ca..05b5a44f98 100644 --- a/src/plugins/tileseditor/kcm/tileseditoreffectkcm.cpp +++ b/src/plugins/tileseditor/kcm/tileseditoreffectkcm.cpp @@ -69,3 +69,5 @@ void TilesEditorEffectConfig::defaults() } // namespace KWin #include "tileseditoreffectkcm.moc" + +#include "moc_tileseditoreffectkcm.cpp" diff --git a/src/plugins/tileseditor/tileseditoreffect.cpp b/src/plugins/tileseditor/tileseditoreffect.cpp index 1bfdc0baba..5a4d0e2c04 100644 --- a/src/plugins/tileseditor/tileseditoreffect.cpp +++ b/src/plugins/tileseditor/tileseditoreffect.cpp @@ -112,3 +112,5 @@ void TilesEditorEffect::grabbedKeyboardEvent(QKeyEvent *keyEvent) } } // namespace KWin + +#include "moc_tileseditoreffect.cpp" diff --git a/src/plugins/touchpoints/touchpoints.cpp b/src/plugins/touchpoints/touchpoints.cpp index 61f9687c75..28bba1bb26 100644 --- a/src/plugins/touchpoints/touchpoints.cpp +++ b/src/plugins/touchpoints/touchpoints.cpp @@ -247,3 +247,5 @@ void TouchPointsEffect::paintScreenFinishGl() } } // namespace + +#include "moc_touchpoints.cpp" diff --git a/src/plugins/trackmouse/trackmouse.cpp b/src/plugins/trackmouse/trackmouse.cpp index 5979424da5..c335fc097a 100644 --- a/src/plugins/trackmouse/trackmouse.cpp +++ b/src/plugins/trackmouse/trackmouse.cpp @@ -252,3 +252,5 @@ bool TrackMouseEffect::isActive() const } } // namespace + +#include "moc_trackmouse.cpp" diff --git a/src/plugins/trackmouse/trackmouse_config.cpp b/src/plugins/trackmouse/trackmouse_config.cpp index eff9990380..2f2ad33a05 100644 --- a/src/plugins/trackmouse/trackmouse_config.cpp +++ b/src/plugins/trackmouse/trackmouse_config.cpp @@ -107,3 +107,5 @@ void TrackMouseEffectConfig::shortcutChanged(const QKeySequence &seq) } // namespace #include "trackmouse_config.moc" + +#include "moc_trackmouse_config.cpp" diff --git a/src/plugins/windowsystem/plugin.cpp b/src/plugins/windowsystem/plugin.cpp index 07d0df1e11..04c2c793e7 100644 --- a/src/plugins/windowsystem/plugin.cpp +++ b/src/plugins/windowsystem/plugin.cpp @@ -36,3 +36,5 @@ KWindowShadowPrivate *KWindowSystemKWinPlugin::createWindowShadow() { return new KWin::WindowShadow(); } + +#include "moc_plugin.cpp" diff --git a/src/plugins/windowsystem/windowsystem.cpp b/src/plugins/windowsystem/windowsystem.cpp index 2d6b0d7454..6842e91d50 100644 --- a/src/plugins/windowsystem/windowsystem.cpp +++ b/src/plugins/windowsystem/windowsystem.cpp @@ -220,3 +220,5 @@ quint32 WindowSystem::lastInputSerial(QWindow *window) return w->lastUsageSerial(); } } + +#include "moc_windowsystem.cpp" diff --git a/src/plugins/windowview/kcm/windowvieweffectkcm.cpp b/src/plugins/windowview/kcm/windowvieweffectkcm.cpp index d6c93b5443..ceabdaa19d 100644 --- a/src/plugins/windowview/kcm/windowvieweffectkcm.cpp +++ b/src/plugins/windowview/kcm/windowvieweffectkcm.cpp @@ -94,3 +94,5 @@ void WindowViewEffectConfig::defaults() } // namespace KWin #include "windowvieweffectkcm.moc" + +#include "moc_windowvieweffectkcm.cpp" diff --git a/src/plugins/windowview/windowvieweffect.cpp b/src/plugins/windowview/windowvieweffect.cpp index 89c08bcb19..c907b823b3 100644 --- a/src/plugins/windowview/windowvieweffect.cpp +++ b/src/plugins/windowview/windowvieweffect.cpp @@ -464,3 +464,5 @@ void WindowViewEffect::setSelectedIds(const QList &ids) } } // namespace KWin + +#include "moc_windowvieweffect.cpp" diff --git a/src/plugins/wobblywindows/wobblywindows.cpp b/src/plugins/wobblywindows/wobblywindows.cpp index bf8b55f4e4..eca43899d4 100644 --- a/src/plugins/wobblywindows/wobblywindows.cpp +++ b/src/plugins/wobblywindows/wobblywindows.cpp @@ -1154,3 +1154,5 @@ bool WobblyWindowsEffect::isResizeWobble() const } } // namespace KWin + +#include "moc_wobblywindows.cpp" diff --git a/src/plugins/wobblywindows/wobblywindows_config.cpp b/src/plugins/wobblywindows/wobblywindows_config.cpp index 2aac7629e3..28c372e9f5 100644 --- a/src/plugins/wobblywindows/wobblywindows_config.cpp +++ b/src/plugins/wobblywindows/wobblywindows_config.cpp @@ -99,3 +99,5 @@ void WobblyWindowsEffectConfig::wobblinessChanged() } // namespace #include "wobblywindows_config.moc" + +#include "moc_wobblywindows_config.cpp" diff --git a/src/plugins/zoom/accessibilityintegration.cpp b/src/plugins/zoom/accessibilityintegration.cpp index 513f4fab9f..10fef8ed69 100644 --- a/src/plugins/zoom/accessibilityintegration.cpp +++ b/src/plugins/zoom/accessibilityintegration.cpp @@ -97,3 +97,5 @@ void ZoomAccessibilityIntegration::slotFocusChanged(const AccessibleObject &obje } } // namespace KWin + +#include "moc_accessibilityintegration.cpp" diff --git a/src/plugins/zoom/zoom.cpp b/src/plugins/zoom/zoom.cpp index 6b4c1dab17..6516eb3263 100644 --- a/src/plugins/zoom/zoom.cpp +++ b/src/plugins/zoom/zoom.cpp @@ -610,3 +610,5 @@ qreal ZoomEffect::targetZoom() const } } // namespace + +#include "moc_zoom.cpp" diff --git a/src/plugins/zoom/zoom_config.cpp b/src/plugins/zoom/zoom_config.cpp index f092b168da..dcf52c702b 100644 --- a/src/plugins/zoom/zoom_config.cpp +++ b/src/plugins/zoom/zoom_config.cpp @@ -139,3 +139,5 @@ void ZoomEffectConfig::save() } // namespace #include "zoom_config.moc" + +#include "moc_zoom_config.cpp" diff --git a/src/pointer_input.cpp b/src/pointer_input.cpp index 24a75ce69e..8a62aea354 100644 --- a/src/pointer_input.cpp +++ b/src/pointer_input.cpp @@ -1145,3 +1145,5 @@ void InputRedirectionCursor::slotPointerButtonChanged() } } + +#include "moc_pointer_input.cpp" diff --git a/src/popup_input_filter.cpp b/src/popup_input_filter.cpp index 381d29ea91..b80329ab33 100644 --- a/src/popup_input_filter.cpp +++ b/src/popup_input_filter.cpp @@ -120,3 +120,5 @@ void PopupInputFilter::cancelPopups() } } + +#include "moc_popup_input_filter.cpp" diff --git a/src/rules.cpp b/src/rules.cpp index f53fd2c488..376e7c7933 100644 --- a/src/rules.cpp +++ b/src/rules.cpp @@ -977,3 +977,5 @@ void RuleBook::setUpdatesDisabled(bool disable) #endif } // namespace + +#include "moc_rules.cpp" diff --git a/src/scene/cursordelegate_opengl.cpp b/src/scene/cursordelegate_opengl.cpp index 1b03ccc4ac..5700321df7 100644 --- a/src/scene/cursordelegate_opengl.cpp +++ b/src/scene/cursordelegate_opengl.cpp @@ -78,3 +78,5 @@ void CursorDelegateOpenGL::paint(const RenderTarget &renderTarget, const QRegion } } // namespace KWin + +#include "moc_cursordelegate_opengl.cpp" diff --git a/src/scene/cursoritem.cpp b/src/scene/cursoritem.cpp index a194602eaa..e438b403aa 100644 --- a/src/scene/cursoritem.cpp +++ b/src/scene/cursoritem.cpp @@ -61,3 +61,5 @@ void CursorItem::setImage(const QImage &image) } } // namespace KWin + +#include "moc_cursoritem.cpp" diff --git a/src/scene/cursorscene.cpp b/src/scene/cursorscene.cpp index 1e2477c020..4e277362a0 100644 --- a/src/scene/cursorscene.cpp +++ b/src/scene/cursorscene.cpp @@ -65,3 +65,5 @@ void CursorScene::paint(const RenderTarget &renderTarget, const QRegion ®ion) } } // namespace KWin + +#include "moc_cursorscene.cpp" diff --git a/src/scene/decorationitem.cpp b/src/scene/decorationitem.cpp index 6c34d9c3b3..2d8cc4f8e6 100644 --- a/src/scene/decorationitem.cpp +++ b/src/scene/decorationitem.cpp @@ -247,3 +247,5 @@ WindowQuadList DecorationItem::buildQuads() const } } // namespace KWin + +#include "moc_decorationitem.cpp" diff --git a/src/scene/dndiconitem.cpp b/src/scene/dndiconitem.cpp index c2577b6f51..01210eea10 100644 --- a/src/scene/dndiconitem.cpp +++ b/src/scene/dndiconitem.cpp @@ -38,3 +38,5 @@ void DragAndDropIconItem::frameRendered(quint32 timestamp) } } // namespace KWin + +#include "moc_dndiconitem.cpp" diff --git a/src/scene/imageitem.cpp b/src/scene/imageitem.cpp index 920fc7fe02..c0c729b714 100644 --- a/src/scene/imageitem.cpp +++ b/src/scene/imageitem.cpp @@ -75,3 +75,5 @@ WindowQuadList ImageItemOpenGL::buildQuads() const } } // namespace KWin + +#include "moc_imageitem.cpp" diff --git a/src/scene/item.cpp b/src/scene/item.cpp index 3069856c16..88f7ceee17 100644 --- a/src/scene/item.cpp +++ b/src/scene/item.cpp @@ -427,3 +427,5 @@ void Item::markSortedChildItemsDirty() } } // namespace KWin + +#include "moc_item.cpp" diff --git a/src/scene/scene.cpp b/src/scene/scene.cpp index 54ba4f0a52..d187300bb8 100644 --- a/src/scene/scene.cpp +++ b/src/scene/scene.cpp @@ -135,3 +135,5 @@ SurfaceItem *Scene::scanoutCandidate() const } } // namespace KWin + +#include "moc_scene.cpp" diff --git a/src/scene/shadowitem.cpp b/src/scene/shadowitem.cpp index a9160fce75..0579149b5c 100644 --- a/src/scene/shadowitem.cpp +++ b/src/scene/shadowitem.cpp @@ -306,3 +306,5 @@ void ShadowItem::preprocess() } } // namespace KWin + +#include "moc_shadowitem.cpp" diff --git a/src/scene/surfaceitem.cpp b/src/scene/surfaceitem.cpp index f55d30029b..0341710cce 100644 --- a/src/scene/surfaceitem.cpp +++ b/src/scene/surfaceitem.cpp @@ -204,3 +204,5 @@ void SurfacePixmap::markAsDiscarded() } } // namespace KWin + +#include "moc_surfaceitem.cpp" diff --git a/src/scene/surfaceitem_internal.cpp b/src/scene/surfaceitem_internal.cpp index cfb42382a6..8d592fe39a 100644 --- a/src/scene/surfaceitem_internal.cpp +++ b/src/scene/surfaceitem_internal.cpp @@ -94,3 +94,5 @@ bool SurfacePixmapInternal::isValid() const } } // namespace KWin + +#include "moc_surfaceitem_internal.cpp" diff --git a/src/scene/surfaceitem_wayland.cpp b/src/scene/surfaceitem_wayland.cpp index 0044d94e61..18c0dda5ec 100644 --- a/src/scene/surfaceitem_wayland.cpp +++ b/src/scene/surfaceitem_wayland.cpp @@ -223,3 +223,5 @@ QVector SurfaceItemXwayland::shape() const } } // namespace KWin + +#include "moc_surfaceitem_wayland.cpp" diff --git a/src/scene/surfaceitem_x11.cpp b/src/scene/surfaceitem_x11.cpp index dcdad59451..a0617aecd6 100644 --- a/src/scene/surfaceitem_x11.cpp +++ b/src/scene/surfaceitem_x11.cpp @@ -256,3 +256,5 @@ void SurfacePixmapX11::create() } } // namespace KWin + +#include "moc_surfaceitem_x11.cpp" diff --git a/src/scene/windowitem.cpp b/src/scene/windowitem.cpp index cc72d6dc74..d8e35b3907 100644 --- a/src/scene/windowitem.cpp +++ b/src/scene/windowitem.cpp @@ -315,3 +315,5 @@ WindowItemInternal::WindowItemInternal(InternalWindow *window, Scene *scene, Ite } } // namespace KWin + +#include "moc_windowitem.cpp" diff --git a/src/scene/workspacescene.cpp b/src/scene/workspacescene.cpp index 365eb9efd1..04bf5df181 100644 --- a/src/scene/workspacescene.cpp +++ b/src/scene/workspacescene.cpp @@ -498,3 +498,5 @@ bool WorkspaceScene::supportsNativeFence() const } } // namespace + +#include "moc_workspacescene.cpp" diff --git a/src/scene/workspacescene_opengl.cpp b/src/scene/workspacescene_opengl.cpp index 9f7428ba3e..4e8d6f4487 100644 --- a/src/scene/workspacescene_opengl.cpp +++ b/src/scene/workspacescene_opengl.cpp @@ -482,3 +482,5 @@ int SceneOpenGLDecorationRenderer::toNativeSize(int size) const } } // namespace + +#include "moc_workspacescene_opengl.cpp" diff --git a/src/scene/workspacescene_qpainter.cpp b/src/scene/workspacescene_qpainter.cpp index 0df85f2d94..c5d74592d1 100644 --- a/src/scene/workspacescene_qpainter.cpp +++ b/src/scene/workspacescene_qpainter.cpp @@ -131,3 +131,5 @@ void SceneQPainterDecorationRenderer::resizeImages() } } // KWin + +#include "moc_workspacescene_qpainter.cpp" diff --git a/src/screenedge.cpp b/src/screenedge.cpp index 576975fabb..e145b15ce7 100644 --- a/src/screenedge.cpp +++ b/src/screenedge.cpp @@ -1552,3 +1552,5 @@ const std::vector> &ScreenEdges::edges() const } } // namespace + +#include "moc_screenedge.cpp" diff --git a/src/screenlockerwatcher.cpp b/src/screenlockerwatcher.cpp index 26f02bf403..fac6209aff 100644 --- a/src/screenlockerwatcher.cpp +++ b/src/screenlockerwatcher.cpp @@ -83,3 +83,5 @@ bool ScreenLockerWatcher::isLocked() const return m_locked; } } + +#include "moc_screenlockerwatcher.cpp" diff --git a/src/scripting/dbuscall.cpp b/src/scripting/dbuscall.cpp index 20f5d58cf2..8fa8428cc9 100644 --- a/src/scripting/dbuscall.cpp +++ b/src/scripting/dbuscall.cpp @@ -46,3 +46,5 @@ void DBusCall::call() } } // KWin + +#include "moc_dbuscall.cpp" diff --git a/src/scripting/screenedgehandler.cpp b/src/scripting/screenedgehandler.cpp index 625b870d42..82f8494186 100644 --- a/src/scripting/screenedgehandler.cpp +++ b/src/scripting/screenedgehandler.cpp @@ -108,3 +108,5 @@ void ScreenEdgeHandler::setMode(Mode mode) } } // namespace + +#include "moc_screenedgehandler.cpp" diff --git a/src/scripting/scriptedeffect.cpp b/src/scripting/scriptedeffect.cpp index a28eeb928c..95b5c1febf 100644 --- a/src/scripting/scriptedeffect.cpp +++ b/src/scripting/scriptedeffect.cpp @@ -872,3 +872,5 @@ void ScriptedEffect::setUniform(uint shaderId, const QString &name, const QJSVal } } // namespace + +#include "moc_scriptedeffect.cpp" diff --git a/src/scripting/scripting.cpp b/src/scripting/scripting.cpp index 02e0413b22..a902ce7d00 100644 --- a/src/scripting/scripting.cpp +++ b/src/scripting/scripting.cpp @@ -838,3 +838,5 @@ QList KWin::Scripting::actionsForUserActionMenu(KWin::Window *c, QMen } return actions; } + +#include "moc_scripting.cpp" diff --git a/src/scripting/shortcuthandler.cpp b/src/scripting/shortcuthandler.cpp index 33fdeea0a0..5182d2eb5b 100644 --- a/src/scripting/shortcuthandler.cpp +++ b/src/scripting/shortcuthandler.cpp @@ -93,3 +93,5 @@ void ShortcutHandler::setSequence(const QVariant &sequence) } } // namespace KWin + +#include "moc_shortcuthandler.cpp" diff --git a/src/scripting/virtualdesktopmodel.cpp b/src/scripting/virtualdesktopmodel.cpp index c42033ef80..bc8b69a93f 100644 --- a/src/scripting/virtualdesktopmodel.cpp +++ b/src/scripting/virtualdesktopmodel.cpp @@ -89,3 +89,5 @@ int VirtualDesktopModel::rowCount(const QModelIndex &parent) const } } // namespace KWin + +#include "moc_virtualdesktopmodel.cpp" diff --git a/src/scripting/windowmodel.cpp b/src/scripting/windowmodel.cpp index 6f5235e15c..a3b097506f 100644 --- a/src/scripting/windowmodel.cpp +++ b/src/scripting/windowmodel.cpp @@ -328,3 +328,5 @@ WindowFilterModel::WindowTypes WindowFilterModel::windowTypeMask(Window *window) } } // namespace KWin + +#include "moc_windowmodel.cpp" diff --git a/src/scripting/windowthumbnailitem.cpp b/src/scripting/windowthumbnailitem.cpp index 1dc9837bd4..ff0c59e9b8 100644 --- a/src/scripting/windowthumbnailitem.cpp +++ b/src/scripting/windowthumbnailitem.cpp @@ -419,3 +419,5 @@ void WindowThumbnailItem::updateOffscreenTexture() } } // namespace KWin + +#include "moc_windowthumbnailitem.cpp" diff --git a/src/shadow.cpp b/src/shadow.cpp index 54f8711c93..38c8611527 100644 --- a/src/shadow.cpp +++ b/src/shadow.cpp @@ -357,3 +357,5 @@ QSize Shadow::elementSize(Shadow::ShadowElements element) const } } // namespace + +#include "moc_shadow.cpp" diff --git a/src/sm.cpp b/src/sm.cpp index ac82155a60..4e9e390bc2 100644 --- a/src/sm.cpp +++ b/src/sm.cpp @@ -407,3 +407,5 @@ void SessionManager::quit() } } // namespace + +#include "moc_sm.cpp" diff --git a/src/tabbox/clientmodel.cpp b/src/tabbox/clientmodel.cpp index 2ff921f347..af3fe4273b 100644 --- a/src/tabbox/clientmodel.cpp +++ b/src/tabbox/clientmodel.cpp @@ -264,3 +264,5 @@ void ClientModel::activate(int i) } // namespace Tabbox } // namespace KWin + +#include "moc_clientmodel.cpp" diff --git a/src/tabbox/switcheritem.cpp b/src/tabbox/switcheritem.cpp index 048215d9a6..a534b1a950 100644 --- a/src/tabbox/switcheritem.cpp +++ b/src/tabbox/switcheritem.cpp @@ -125,3 +125,5 @@ bool SwitcherItem::compositing() } } + +#include "moc_switcheritem.cpp" diff --git a/src/tabbox/tabbox.cpp b/src/tabbox/tabbox.cpp index 609d154b04..076884f64b 100644 --- a/src/tabbox/tabbox.cpp +++ b/src/tabbox/tabbox.cpp @@ -1219,3 +1219,5 @@ void TabBox::removeTabBoxGrab() } } // namespace TabBox } // namespace + +#include "moc_tabbox.cpp" diff --git a/src/tabbox/tabboxhandler.cpp b/src/tabbox/tabboxhandler.cpp index a5fd18bced..13d5901202 100644 --- a/src/tabbox/tabboxhandler.cpp +++ b/src/tabbox/tabboxhandler.cpp @@ -577,3 +577,5 @@ TabBoxHandler *tabBox = nullptr; } // namespace TabBox } // namespace KWin + +#include "moc_tabboxhandler.cpp" diff --git a/src/tablet_input.cpp b/src/tablet_input.cpp index e29da56eee..90a479715e 100644 --- a/src/tablet_input.cpp +++ b/src/tablet_input.cpp @@ -185,3 +185,5 @@ void TabletInputRedirection::focusUpdate(Window *focusOld, Window *focusNow) } } + +#include "moc_tablet_input.cpp" diff --git a/src/tabletmodemanager.cpp b/src/tabletmodemanager.cpp index 78c9afa0b0..d4f8495f2b 100644 --- a/src/tabletmodemanager.cpp +++ b/src/tabletmodemanager.cpp @@ -228,3 +228,5 @@ KWin::TabletModeManager::ConfiguredMode KWin::TabletModeManager::configuredMode( } } // namespace KWin + +#include "moc_tabletmodemanager.cpp" diff --git a/src/tiles/quicktile.cpp b/src/tiles/quicktile.cpp index fef476ee94..ffde9cd1a5 100644 --- a/src/tiles/quicktile.cpp +++ b/src/tiles/quicktile.cpp @@ -206,3 +206,5 @@ void QuickRootTile::setVerticalSplit(qreal split) } } // namespace KWin + +#include "moc_quicktile.cpp" diff --git a/src/touch_input.cpp b/src/touch_input.cpp index e088113a41..de4f013a81 100644 --- a/src/touch_input.cpp +++ b/src/touch_input.cpp @@ -204,3 +204,5 @@ void TouchInputRedirection::frame() } } + +#include "moc_touch_input.cpp" diff --git a/src/useractions.cpp b/src/useractions.cpp index 7d315a8f3a..d88180164a 100644 --- a/src/useractions.cpp +++ b/src/useractions.cpp @@ -1880,3 +1880,5 @@ bool Workspace::shortcutAvailable(const QKeySequence &cut, Window *ignore) const } } // namespace + +#include "moc_useractions.cpp" diff --git a/src/utils/softwarevsyncmonitor.cpp b/src/utils/softwarevsyncmonitor.cpp index 8095c7a059..4eeffb42c9 100644 --- a/src/utils/softwarevsyncmonitor.cpp +++ b/src/utils/softwarevsyncmonitor.cpp @@ -56,3 +56,5 @@ void SoftwareVsyncMonitor::arm() } } // namespace KWin + +#include "moc_softwarevsyncmonitor.cpp" diff --git a/src/utils/subsurfacemonitor.cpp b/src/utils/subsurfacemonitor.cpp index 1d2b3ec95a..1ee3137aed 100644 --- a/src/utils/subsurfacemonitor.cpp +++ b/src/utils/subsurfacemonitor.cpp @@ -87,3 +87,5 @@ void SubSurfaceMonitor::unregisterSurface(SurfaceInterface *surface) } } // namespace KWin + +#include "moc_subsurfacemonitor.cpp" diff --git a/src/utils/vsyncmonitor.cpp b/src/utils/vsyncmonitor.cpp index fe82297367..32369cae2e 100644 --- a/src/utils/vsyncmonitor.cpp +++ b/src/utils/vsyncmonitor.cpp @@ -12,3 +12,5 @@ namespace KWin VsyncMonitor::VsyncMonitor() = default; } // namespace KWin + +#include "moc_vsyncmonitor.cpp" diff --git a/src/virtualdesktops.cpp b/src/virtualdesktops.cpp index 7da9bd23d5..754a388858 100644 --- a/src/virtualdesktops.cpp +++ b/src/virtualdesktops.cpp @@ -983,3 +983,5 @@ void VirtualDesktopManager::slotUp() } } // KWin + +#include "moc_virtualdesktops.cpp" diff --git a/src/virtualkeyboard_dbus.cpp b/src/virtualkeyboard_dbus.cpp index cfdb65c07c..1bb525e9ca 100644 --- a/src/virtualkeyboard_dbus.cpp +++ b/src/virtualkeyboard_dbus.cpp @@ -73,3 +73,5 @@ void VirtualKeyboardDBus::forceActivate() m_inputMethod->forceActivate(); } } + +#include "moc_virtualkeyboard_dbus.cpp" diff --git a/src/wayland/abstract_data_source.cpp b/src/wayland/abstract_data_source.cpp index b2b75dbf70..7cb562c3db 100644 --- a/src/wayland/abstract_data_source.cpp +++ b/src/wayland/abstract_data_source.cpp @@ -12,3 +12,5 @@ AbstractDataSource::AbstractDataSource(QObject *parent) : QObject(parent) { } + +#include "moc_abstract_data_source.cpp" diff --git a/src/wayland/abstract_drop_handler.cpp b/src/wayland/abstract_drop_handler.cpp index a5611d2139..5c95ec707a 100644 --- a/src/wayland/abstract_drop_handler.cpp +++ b/src/wayland/abstract_drop_handler.cpp @@ -15,3 +15,5 @@ AbstractDropHandler::AbstractDropHandler(QObject *parent) } } + +#include "moc_abstract_drop_handler.cpp" diff --git a/src/wayland/blur_interface.cpp b/src/wayland/blur_interface.cpp index 85979f0413..2b9994d5c0 100644 --- a/src/wayland/blur_interface.cpp +++ b/src/wayland/blur_interface.cpp @@ -143,3 +143,5 @@ QRegion BlurInterface::region() } } + +#include "moc_blur_interface.cpp" diff --git a/src/wayland/clientconnection.cpp b/src/wayland/clientconnection.cpp index 120e59b3a0..09784be043 100644 --- a/src/wayland/clientconnection.cpp +++ b/src/wayland/clientconnection.cpp @@ -157,3 +157,5 @@ qreal ClientConnection::scaleOverride() const return d->scaleOverride; } } + +#include "moc_clientconnection.cpp" diff --git a/src/wayland/compositor_interface.cpp b/src/wayland/compositor_interface.cpp index e6dc8cdac6..ad9f8d3f10 100644 --- a/src/wayland/compositor_interface.cpp +++ b/src/wayland/compositor_interface.cpp @@ -71,3 +71,5 @@ Display *CompositorInterface::display() const } } // namespace KWaylandServer + +#include "moc_compositor_interface.cpp" diff --git a/src/wayland/contenttype_v1_interface.cpp b/src/wayland/contenttype_v1_interface.cpp index 68d7c35d20..b0a3028460 100644 --- a/src/wayland/contenttype_v1_interface.cpp +++ b/src/wayland/contenttype_v1_interface.cpp @@ -82,3 +82,5 @@ void ContentTypeV1Interface::wp_content_type_v1_destroy_resource(Resource *) } } + +#include "moc_contenttype_v1_interface.cpp" diff --git a/src/wayland/contrast_interface.cpp b/src/wayland/contrast_interface.cpp index 3d564f18c0..a721c0874d 100644 --- a/src/wayland/contrast_interface.cpp +++ b/src/wayland/contrast_interface.cpp @@ -206,3 +206,5 @@ QColor ContrastInterface::frost() const } } + +#include "moc_contrast_interface.cpp" diff --git a/src/wayland/datacontroldevice_v1_interface.cpp b/src/wayland/datacontroldevice_v1_interface.cpp index a144e75158..2446674862 100644 --- a/src/wayland/datacontroldevice_v1_interface.cpp +++ b/src/wayland/datacontroldevice_v1_interface.cpp @@ -149,3 +149,5 @@ void DataControlDeviceV1Interface::sendPrimarySelection(KWaylandServer::Abstract } } } + +#include "moc_datacontroldevice_v1_interface.cpp" diff --git a/src/wayland/datacontroldevicemanager_v1_interface.cpp b/src/wayland/datacontroldevicemanager_v1_interface.cpp index e70304d893..dcee56d678 100644 --- a/src/wayland/datacontroldevicemanager_v1_interface.cpp +++ b/src/wayland/datacontroldevicemanager_v1_interface.cpp @@ -76,3 +76,5 @@ DataControlDeviceManagerV1Interface::DataControlDeviceManagerV1Interface(Display DataControlDeviceManagerV1Interface::~DataControlDeviceManagerV1Interface() = default; } + +#include "moc_datacontroldevicemanager_v1_interface.cpp" diff --git a/src/wayland/datacontroloffer_v1_interface.cpp b/src/wayland/datacontroloffer_v1_interface.cpp index 6bbf1b1e7c..97d1b9034c 100644 --- a/src/wayland/datacontroloffer_v1_interface.cpp +++ b/src/wayland/datacontroloffer_v1_interface.cpp @@ -82,3 +82,5 @@ wl_resource *DataControlOfferV1Interface::resource() const } } + +#include "moc_datacontroloffer_v1_interface.cpp" diff --git a/src/wayland/datacontrolsource_v1_interface.cpp b/src/wayland/datacontrolsource_v1_interface.cpp index c27107cf79..a17c9365d4 100644 --- a/src/wayland/datacontrolsource_v1_interface.cpp +++ b/src/wayland/datacontrolsource_v1_interface.cpp @@ -91,3 +91,5 @@ DataControlSourceV1Interface *DataControlSourceV1Interface::get(wl_resource *nat } } + +#include "moc_datacontrolsource_v1_interface.cpp" diff --git a/src/wayland/datadevice_interface.cpp b/src/wayland/datadevice_interface.cpp index 9aff868b6a..5ac9f2a6b1 100644 --- a/src/wayland/datadevice_interface.cpp +++ b/src/wayland/datadevice_interface.cpp @@ -322,3 +322,5 @@ wl_client *DataDeviceInterface::client() } } + +#include "moc_datadevice_interface.cpp" diff --git a/src/wayland/datadevicemanager_interface.cpp b/src/wayland/datadevicemanager_interface.cpp index ae54331d85..60a88490e7 100644 --- a/src/wayland/datadevicemanager_interface.cpp +++ b/src/wayland/datadevicemanager_interface.cpp @@ -74,3 +74,5 @@ DataDeviceManagerInterface::DataDeviceManagerInterface(Display *display, QObject DataDeviceManagerInterface::~DataDeviceManagerInterface() = default; } + +#include "moc_datadevicemanager_interface.cpp" diff --git a/src/wayland/dataoffer_interface.cpp b/src/wayland/dataoffer_interface.cpp index b2278d893e..df80aed685 100644 --- a/src/wayland/dataoffer_interface.cpp +++ b/src/wayland/dataoffer_interface.cpp @@ -204,3 +204,5 @@ void DataOfferInterface::dndAction(DataDeviceManagerInterface::DnDAction action) } } + +#include "moc_dataoffer_interface.cpp" diff --git a/src/wayland/datasource_interface.cpp b/src/wayland/datasource_interface.cpp index f5e3efb9c9..1cfcb20368 100644 --- a/src/wayland/datasource_interface.cpp +++ b/src/wayland/datasource_interface.cpp @@ -206,3 +206,5 @@ void DataSourceInterface::setAccepted(bool accepted) } } + +#include "moc_datasource_interface.cpp" diff --git a/src/wayland/display.cpp b/src/wayland/display.cpp index 41de7c71be..da9d016cc0 100644 --- a/src/wayland/display.cpp +++ b/src/wayland/display.cpp @@ -228,3 +228,5 @@ KWin::GraphicsBuffer *Display::bufferForResource(wl_resource *resource) } } // namespace KWaylandServer + +#include "moc_display.cpp" diff --git a/src/wayland/dpms_interface.cpp b/src/wayland/dpms_interface.cpp index 411b78d81c..00cc89c088 100644 --- a/src/wayland/dpms_interface.cpp +++ b/src/wayland/dpms_interface.cpp @@ -175,3 +175,5 @@ void DpmsInterface::sendDone() } #include "dpms_interface.moc" + +#include "moc_dpms_interface.cpp" diff --git a/src/wayland/drmclientbuffer.cpp b/src/wayland/drmclientbuffer.cpp index 41bc9574b9..7d70214d96 100644 --- a/src/wayland/drmclientbuffer.cpp +++ b/src/wayland/drmclientbuffer.cpp @@ -134,3 +134,5 @@ void DrmClientBufferIntegration::setDevice(const QString &node) } } // namespace KWaylandServer + +#include "moc_drmclientbuffer.cpp" diff --git a/src/wayland/drmlease_v1_interface.cpp b/src/wayland/drmlease_v1_interface.cpp index 38351d1192..8f81d2507e 100644 --- a/src/wayland/drmlease_v1_interface.cpp +++ b/src/wayland/drmlease_v1_interface.cpp @@ -446,3 +446,7 @@ QVector DrmLeaseV1Interface::connectors() const } } + +#include "moc_drmlease_v1_interface.cpp" + +#include "moc_drmlease_v1_interface_p.cpp" diff --git a/src/wayland/fakeinput_interface.cpp b/src/wayland/fakeinput_interface.cpp index 5c2531abc0..8874d53fa0 100644 --- a/src/wayland/fakeinput_interface.cpp +++ b/src/wayland/fakeinput_interface.cpp @@ -262,3 +262,5 @@ bool FakeInputDevice::isAuthenticated() const } } + +#include "moc_fakeinput_interface.cpp" diff --git a/src/wayland/filtered_display.cpp b/src/wayland/filtered_display.cpp index 0e9d34cd35..5be5de9bde 100644 --- a/src/wayland/filtered_display.cpp +++ b/src/wayland/filtered_display.cpp @@ -50,3 +50,5 @@ FilteredDisplay::~FilteredDisplay() } } + +#include "moc_filtered_display.cpp" diff --git a/src/wayland/fractionalscale_v1_interface.cpp b/src/wayland/fractionalscale_v1_interface.cpp index 3696a87c2f..fa29e3d7cd 100644 --- a/src/wayland/fractionalscale_v1_interface.cpp +++ b/src/wayland/fractionalscale_v1_interface.cpp @@ -92,3 +92,5 @@ FractionalScaleManagerV1Interface::~FractionalScaleManagerV1Interface() } } // namespace KWaylandServer + +#include "moc_fractionalscale_v1_interface.cpp" diff --git a/src/wayland/idle_interface.cpp b/src/wayland/idle_interface.cpp index 38ed66645f..1e94a23b0d 100644 --- a/src/wayland/idle_interface.cpp +++ b/src/wayland/idle_interface.cpp @@ -72,3 +72,7 @@ void IdleTimeoutInterface::org_kde_kwin_idle_timeout_simulate_user_activity(Reso } } + +#include "moc_idle_interface_p.cpp" + +#include "moc_idle_interface.cpp" diff --git a/src/wayland/idleinhibit_v1_interface.cpp b/src/wayland/idleinhibit_v1_interface.cpp index 5bbce53c11..a01b982a8c 100644 --- a/src/wayland/idleinhibit_v1_interface.cpp +++ b/src/wayland/idleinhibit_v1_interface.cpp @@ -68,3 +68,7 @@ void IdleInhibitorV1Interface::zwp_idle_inhibitor_v1_destroy_resource(Resource * } } + +#include "moc_idleinhibit_v1_interface_p.cpp" + +#include "moc_idleinhibit_v1_interface.cpp" diff --git a/src/wayland/idlenotify_v1_interface.cpp b/src/wayland/idlenotify_v1_interface.cpp index 06fae97b5b..19104033b0 100644 --- a/src/wayland/idlenotify_v1_interface.cpp +++ b/src/wayland/idlenotify_v1_interface.cpp @@ -90,3 +90,5 @@ IdleNotifyV1Interface::~IdleNotifyV1Interface() } #include "idlenotify_v1_interface.moc" + +#include "moc_idlenotify_v1_interface.cpp" diff --git a/src/wayland/inputmethod_v1_interface.cpp b/src/wayland/inputmethod_v1_interface.cpp index ff023dacc2..7782771eb8 100644 --- a/src/wayland/inputmethod_v1_interface.cpp +++ b/src/wayland/inputmethod_v1_interface.cpp @@ -459,3 +459,5 @@ InputMethodContextV1Interface *InputMethodV1Interface::context() const } } + +#include "moc_inputmethod_v1_interface.cpp" diff --git a/src/wayland/keyboard_interface.cpp b/src/wayland/keyboard_interface.cpp index 11dcb0c5ee..594407e462 100644 --- a/src/wayland/keyboard_interface.cpp +++ b/src/wayland/keyboard_interface.cpp @@ -264,3 +264,5 @@ qint32 KeyboardInterface::keyRepeatRate() const } } + +#include "moc_keyboard_interface.cpp" diff --git a/src/wayland/keyboard_shortcuts_inhibit_v1_interface.cpp b/src/wayland/keyboard_shortcuts_inhibit_v1_interface.cpp index e839034e0b..8d2b4b44c3 100644 --- a/src/wayland/keyboard_shortcuts_inhibit_v1_interface.cpp +++ b/src/wayland/keyboard_shortcuts_inhibit_v1_interface.cpp @@ -187,3 +187,5 @@ void KeyboardShortcutsInhibitManagerV1Interface::removeInhibitor(SurfaceInterfac } } + +#include "moc_keyboard_shortcuts_inhibit_v1_interface.cpp" diff --git a/src/wayland/keystate_interface.cpp b/src/wayland/keystate_interface.cpp index cbc348ff74..f5a0699bee 100644 --- a/src/wayland/keystate_interface.cpp +++ b/src/wayland/keystate_interface.cpp @@ -54,3 +54,5 @@ KeyStateInterface::KeyStateInterface(Display *display, QObject *parent) KeyStateInterface::~KeyStateInterface() = default; } + +#include "moc_keystate_interface.cpp" diff --git a/src/wayland/layershell_v1_interface.cpp b/src/wayland/layershell_v1_interface.cpp index 70e3d242f5..96ae1085e7 100644 --- a/src/wayland/layershell_v1_interface.cpp +++ b/src/wayland/layershell_v1_interface.cpp @@ -465,3 +465,5 @@ void LayerSurfaceV1Interface::sendClosed() } } // namespace KWaylandServer + +#include "moc_layershell_v1_interface.cpp" diff --git a/src/wayland/linuxdmabufv1clientbuffer.cpp b/src/wayland/linuxdmabufv1clientbuffer.cpp index 2e9dc6871d..e51c4727c3 100644 --- a/src/wayland/linuxdmabufv1clientbuffer.cpp +++ b/src/wayland/linuxdmabufv1clientbuffer.cpp @@ -483,3 +483,7 @@ LinuxDmaBufV1FormatTable::LinuxDmaBufV1FormatTable(const QHashhandle); } } + +#include "moc_output_order_v1_interface.cpp" diff --git a/src/wayland/outputdevice_v2_interface.cpp b/src/wayland/outputdevice_v2_interface.cpp index bd1bc93a9b..cbe65d05b5 100644 --- a/src/wayland/outputdevice_v2_interface.cpp +++ b/src/wayland/outputdevice_v2_interface.cpp @@ -730,3 +730,5 @@ OutputDeviceModeV2Interface *OutputDeviceModeV2Interface::get(wl_resource *nativ } } + +#include "moc_outputdevice_v2_interface.cpp" diff --git a/src/wayland/outputmanagement_v2_interface.cpp b/src/wayland/outputmanagement_v2_interface.cpp index 5bd26bd01b..c22e9fa8eb 100644 --- a/src/wayland/outputmanagement_v2_interface.cpp +++ b/src/wayland/outputmanagement_v2_interface.cpp @@ -359,3 +359,5 @@ void OutputConfigurationV2Interface::kde_output_configuration_v2_apply(Resource } #include "outputmanagement_v2_interface.moc" + +#include "moc_outputmanagement_v2_interface.cpp" diff --git a/src/wayland/plasmashell_interface.cpp b/src/wayland/plasmashell_interface.cpp index 3aa276fee0..6107261fb3 100644 --- a/src/wayland/plasmashell_interface.cpp +++ b/src/wayland/plasmashell_interface.cpp @@ -326,3 +326,5 @@ PlasmaShellSurfaceInterface *PlasmaShellSurfaceInterface::get(SurfaceInterface * } } + +#include "moc_plasmashell_interface.cpp" diff --git a/src/wayland/plasmavirtualdesktop_interface.cpp b/src/wayland/plasmavirtualdesktop_interface.cpp index 670e15320f..04ab61599e 100644 --- a/src/wayland/plasmavirtualdesktop_interface.cpp +++ b/src/wayland/plasmavirtualdesktop_interface.cpp @@ -315,3 +315,5 @@ void PlasmaVirtualDesktopInterface::sendDone() } } + +#include "moc_plasmavirtualdesktop_interface.cpp" diff --git a/src/wayland/plasmawindowmanagement_interface.cpp b/src/wayland/plasmawindowmanagement_interface.cpp index 252e0d4607..cc80f153cb 100644 --- a/src/wayland/plasmawindowmanagement_interface.cpp +++ b/src/wayland/plasmawindowmanagement_interface.cpp @@ -1099,3 +1099,5 @@ void PlasmaWindowActivationInterface::sendAppId(const QString &appid) } } + +#include "moc_plasmawindowmanagement_interface.cpp" diff --git a/src/wayland/pointer_interface.cpp b/src/wayland/pointer_interface.cpp index c4bee8e88a..a5549b5148 100644 --- a/src/wayland/pointer_interface.cpp +++ b/src/wayland/pointer_interface.cpp @@ -382,3 +382,5 @@ SurfaceInterface *Cursor::surface() const } } // namespace KWaylandServer + +#include "moc_pointer_interface.cpp" diff --git a/src/wayland/pointerconstraints_v1_interface.cpp b/src/wayland/pointerconstraints_v1_interface.cpp index 4898a74ca6..54378dfe9d 100644 --- a/src/wayland/pointerconstraints_v1_interface.cpp +++ b/src/wayland/pointerconstraints_v1_interface.cpp @@ -339,3 +339,5 @@ void ConfinedPointerV1Interface::setConfined(bool confined) } } // namespace KWaylandServer + +#include "moc_pointerconstraints_v1_interface.cpp" diff --git a/src/wayland/pointergestures_v1_interface.cpp b/src/wayland/pointergestures_v1_interface.cpp index e8d94b708f..32e96d81b6 100644 --- a/src/wayland/pointergestures_v1_interface.cpp +++ b/src/wayland/pointergestures_v1_interface.cpp @@ -324,3 +324,5 @@ void PointerHoldGestureV1Interface::sendCancel(quint32 serial) } } // namespace KWaylandServer + +#include "moc_pointergestures_v1_interface.cpp" diff --git a/src/wayland/primaryselectiondevice_v1_interface.cpp b/src/wayland/primaryselectiondevice_v1_interface.cpp index 7017a17840..016cb025ea 100644 --- a/src/wayland/primaryselectiondevice_v1_interface.cpp +++ b/src/wayland/primaryselectiondevice_v1_interface.cpp @@ -128,3 +128,5 @@ wl_client *PrimarySelectionDeviceV1Interface::client() const } } + +#include "moc_primaryselectiondevice_v1_interface.cpp" diff --git a/src/wayland/primaryselectiondevicemanager_v1_interface.cpp b/src/wayland/primaryselectiondevicemanager_v1_interface.cpp index f8bd2a6a74..adbc488967 100644 --- a/src/wayland/primaryselectiondevicemanager_v1_interface.cpp +++ b/src/wayland/primaryselectiondevicemanager_v1_interface.cpp @@ -75,3 +75,5 @@ PrimarySelectionDeviceManagerV1Interface::PrimarySelectionDeviceManagerV1Interfa PrimarySelectionDeviceManagerV1Interface::~PrimarySelectionDeviceManagerV1Interface() = default; } + +#include "moc_primaryselectiondevicemanager_v1_interface.cpp" diff --git a/src/wayland/primaryselectionoffer_v1_interface.cpp b/src/wayland/primaryselectionoffer_v1_interface.cpp index fcc5a7093c..9338d156f8 100644 --- a/src/wayland/primaryselectionoffer_v1_interface.cpp +++ b/src/wayland/primaryselectionoffer_v1_interface.cpp @@ -83,3 +83,5 @@ wl_resource *PrimarySelectionOfferV1Interface::resource() const } } + +#include "moc_primaryselectionoffer_v1_interface.cpp" diff --git a/src/wayland/primaryselectionsource_v1_interface.cpp b/src/wayland/primaryselectionsource_v1_interface.cpp index 8d4e74ba68..b4467ad7c7 100644 --- a/src/wayland/primaryselectionsource_v1_interface.cpp +++ b/src/wayland/primaryselectionsource_v1_interface.cpp @@ -91,3 +91,5 @@ PrimarySelectionSourceV1Interface *PrimarySelectionSourceV1Interface::get(wl_res } } + +#include "moc_primaryselectionsource_v1_interface.cpp" diff --git a/src/wayland/relativepointer_v1_interface.cpp b/src/wayland/relativepointer_v1_interface.cpp index db488f4c33..49a78618fe 100644 --- a/src/wayland/relativepointer_v1_interface.cpp +++ b/src/wayland/relativepointer_v1_interface.cpp @@ -94,3 +94,5 @@ void RelativePointerV1Interface::sendRelativeMotion(const QPointF &delta, const } } // namespace KWaylandServer + +#include "moc_relativepointer_v1_interface.cpp" diff --git a/src/wayland/screencast_v1_interface.cpp b/src/wayland/screencast_v1_interface.cpp index e6767e1db0..9671163ebb 100644 --- a/src/wayland/screencast_v1_interface.cpp +++ b/src/wayland/screencast_v1_interface.cpp @@ -142,3 +142,5 @@ ScreencastV1Interface::ScreencastV1Interface(Display *display, QObject *parent) ScreencastV1Interface::~ScreencastV1Interface() = default; } // namespace KWaylandServer + +#include "moc_screencast_v1_interface.cpp" diff --git a/src/wayland/screenedge_v1_interface.cpp b/src/wayland/screenedge_v1_interface.cpp index 5341ee8cb2..759aecbe6e 100644 --- a/src/wayland/screenedge_v1_interface.cpp +++ b/src/wayland/screenedge_v1_interface.cpp @@ -147,3 +147,5 @@ ElectricBorder AutoHideScreenEdgeV1Interface::border() const } } // namespace KWaylandServer + +#include "moc_screenedge_v1_interface.cpp" diff --git a/src/wayland/seat_interface.cpp b/src/wayland/seat_interface.cpp index cd0a966049..0eff3e2043 100644 --- a/src/wayland/seat_interface.cpp +++ b/src/wayland/seat_interface.cpp @@ -1368,3 +1368,5 @@ DragAndDropIcon *SeatInterface::dragIcon() const return d->drag.dragIcon; } } + +#include "moc_seat_interface.cpp" diff --git a/src/wayland/server_decoration_interface.cpp b/src/wayland/server_decoration_interface.cpp index 142292fb07..b575c1187a 100644 --- a/src/wayland/server_decoration_interface.cpp +++ b/src/wayland/server_decoration_interface.cpp @@ -232,3 +232,5 @@ ServerSideDecorationInterface *ServerSideDecorationInterface::get(SurfaceInterfa } } + +#include "moc_server_decoration_interface.cpp" diff --git a/src/wayland/server_decoration_palette_interface.cpp b/src/wayland/server_decoration_palette_interface.cpp index d8cb161b90..1a33d23f9e 100644 --- a/src/wayland/server_decoration_palette_interface.cpp +++ b/src/wayland/server_decoration_palette_interface.cpp @@ -140,3 +140,5 @@ SurfaceInterface *ServerSideDecorationPaletteInterface::surface() const } } // namespace + +#include "moc_server_decoration_palette_interface.cpp" diff --git a/src/wayland/shadow_interface.cpp b/src/wayland/shadow_interface.cpp index 048552aab2..db40c204c5 100644 --- a/src/wayland/shadow_interface.cpp +++ b/src/wayland/shadow_interface.cpp @@ -325,3 +325,5 @@ BUFFER(bottom) BUFFER(bottomLeft) } + +#include "moc_shadow_interface.cpp" diff --git a/src/wayland/shmclientbuffer.cpp b/src/wayland/shmclientbuffer.cpp index d4fe73d975..2c27d90534 100644 --- a/src/wayland/shmclientbuffer.cpp +++ b/src/wayland/shmclientbuffer.cpp @@ -316,3 +316,7 @@ ShmClientBufferIntegration::~ShmClientBufferIntegration() } } // namespace KWaylandServer + +#include "moc_shmclientbuffer_p.cpp" + +#include "moc_shmclientbuffer.cpp" diff --git a/src/wayland/slide_interface.cpp b/src/wayland/slide_interface.cpp index 00d6008d86..97bcf00fa7 100644 --- a/src/wayland/slide_interface.cpp +++ b/src/wayland/slide_interface.cpp @@ -151,3 +151,5 @@ qint32 SlideInterface::offset() const } } + +#include "moc_slide_interface.cpp" diff --git a/src/wayland/subcompositor_interface.cpp b/src/wayland/subcompositor_interface.cpp index e71397337f..a6842f2703 100644 --- a/src/wayland/subcompositor_interface.cpp +++ b/src/wayland/subcompositor_interface.cpp @@ -260,3 +260,5 @@ SurfaceInterface *SubSurfaceInterface::mainSurface() const } } // namespace KWaylandServer + +#include "moc_subcompositor_interface.cpp" diff --git a/src/wayland/surface_interface.cpp b/src/wayland/surface_interface.cpp index 16d819bb0f..83a4006775 100644 --- a/src/wayland/surface_interface.cpp +++ b/src/wayland/surface_interface.cpp @@ -1123,3 +1123,5 @@ void SurfaceInterface::setPreferredBufferTransform(KWin::Output::Transform trans } } // namespace KWaylandServer + +#include "moc_surface_interface.cpp" diff --git a/src/wayland/tablet_v2_interface.cpp b/src/wayland/tablet_v2_interface.cpp index a93a92d118..ba4459bc5e 100644 --- a/src/wayland/tablet_v2_interface.cpp +++ b/src/wayland/tablet_v2_interface.cpp @@ -885,3 +885,5 @@ bool TabletSeatV2Interface::isClientSupported(ClientConnection *client) const TabletManagerV2Interface::~TabletManagerV2Interface() = default; } // namespace KWaylandServer + +#include "moc_tablet_v2_interface.cpp" diff --git a/src/wayland/tearingcontrol_v1_interface.cpp b/src/wayland/tearingcontrol_v1_interface.cpp index dc9b6da417..9ddaefa100 100644 --- a/src/wayland/tearingcontrol_v1_interface.cpp +++ b/src/wayland/tearingcontrol_v1_interface.cpp @@ -103,3 +103,5 @@ void TearingControlV1Interface::wp_tearing_control_v1_destroy_resource(Resource delete this; } } + +#include "moc_tearingcontrol_v1_interface.cpp" diff --git a/src/wayland/tests/fakeoutput.cpp b/src/wayland/tests/fakeoutput.cpp index ca647268bd..a529a0116b 100644 --- a/src/wayland/tests/fakeoutput.cpp +++ b/src/wayland/tests/fakeoutput.cpp @@ -90,3 +90,5 @@ void FakeOutput::setModel(const QString &model) info.model = model; setInformation(info); } + +#include "moc_fakeoutput.cpp" diff --git a/src/wayland/tests/touchclienttest.cpp b/src/wayland/tests/touchclienttest.cpp index abfe426ed7..6dd94ba820 100644 --- a/src/wayland/tests/touchclienttest.cpp +++ b/src/wayland/tests/touchclienttest.cpp @@ -201,3 +201,5 @@ int main(int argc, char **argv) return app.exec(); } + +#include "moc_touchclienttest.cpp" diff --git a/src/wayland/textinput.cpp b/src/wayland/textinput.cpp index 83701e3c75..2d58d63073 100644 --- a/src/wayland/textinput.cpp +++ b/src/wayland/textinput.cpp @@ -5,3 +5,5 @@ */ #include "textinput.h" + +#include "moc_textinput.cpp" diff --git a/src/wayland/textinput_v1_interface.cpp b/src/wayland/textinput_v1_interface.cpp index e83b18d30e..4eb2bc6beb 100644 --- a/src/wayland/textinput_v1_interface.cpp +++ b/src/wayland/textinput_v1_interface.cpp @@ -547,3 +547,5 @@ bool TextInputV1Interface::clientSupportsTextInput(ClientConnection *client) con return client && d->resourceMap().contains(*client); } } + +#include "moc_textinput_v1_interface.cpp" diff --git a/src/wayland/textinput_v2_interface.cpp b/src/wayland/textinput_v2_interface.cpp index 6315153c32..ff80127be6 100644 --- a/src/wayland/textinput_v2_interface.cpp +++ b/src/wayland/textinput_v2_interface.cpp @@ -557,3 +557,5 @@ bool TextInputV2Interface::clientSupportsTextInput(ClientConnection *client) con return client && d->resourceMap().contains(*client); } } + +#include "moc_textinput_v2_interface.cpp" diff --git a/src/wayland/textinput_v3_interface.cpp b/src/wayland/textinput_v3_interface.cpp index cc3b2f1e32..7ddefc817d 100644 --- a/src/wayland/textinput_v3_interface.cpp +++ b/src/wayland/textinput_v3_interface.cpp @@ -491,3 +491,5 @@ bool TextInputV3Interface::clientSupportsTextInput(ClientConnection *client) con return client && d->resourceMap().contains(*client); } } + +#include "moc_textinput_v3_interface.cpp" diff --git a/src/wayland/touch_interface.cpp b/src/wayland/touch_interface.cpp index 27515535e7..4d76c8d417 100644 --- a/src/wayland/touch_interface.cpp +++ b/src/wayland/touch_interface.cpp @@ -127,3 +127,5 @@ void TouchInterface::sendDown(qint32 id, quint32 serial, const QPointF &localPos } } // namespace KWaylandServer + +#include "moc_touch_interface.cpp" diff --git a/src/wayland/viewporter_interface.cpp b/src/wayland/viewporter_interface.cpp index f63a04c231..573897af69 100644 --- a/src/wayland/viewporter_interface.cpp +++ b/src/wayland/viewporter_interface.cpp @@ -144,3 +144,5 @@ ViewporterInterface::~ViewporterInterface() } } // namespace KWaylandServer + +#include "moc_viewporter_interface.cpp" diff --git a/src/wayland/xdgactivation_v1_interface.cpp b/src/wayland/xdgactivation_v1_interface.cpp index 5eea33dbcb..e2d2147a77 100644 --- a/src/wayland/xdgactivation_v1_interface.cpp +++ b/src/wayland/xdgactivation_v1_interface.cpp @@ -134,3 +134,5 @@ void XdgActivationV1Interface::setActivationTokenCreator(const CreatorFunction & } } + +#include "moc_xdgactivation_v1_interface.cpp" diff --git a/src/wayland/xdgdecoration_v1_interface.cpp b/src/wayland/xdgdecoration_v1_interface.cpp index 867c2dc241..8a15195626 100644 --- a/src/wayland/xdgdecoration_v1_interface.cpp +++ b/src/wayland/xdgdecoration_v1_interface.cpp @@ -140,3 +140,5 @@ XdgToplevelDecorationV1Interface *XdgToplevelDecorationV1Interface::get(XdgTople } } // namespace KWaylandServer + +#include "moc_xdgdecoration_v1_interface.cpp" diff --git a/src/wayland/xdgforeign_v2_interface.cpp b/src/wayland/xdgforeign_v2_interface.cpp index d740483f0a..4e455c8bae 100644 --- a/src/wayland/xdgforeign_v2_interface.cpp +++ b/src/wayland/xdgforeign_v2_interface.cpp @@ -263,3 +263,7 @@ void XdgImportedV2Interface::handleExportedDestroyed() } } + +#include "moc_xdgforeign_v2_interface_p.cpp" + +#include "moc_xdgforeign_v2_interface.cpp" diff --git a/src/wayland/xdgoutput_v1_interface.cpp b/src/wayland/xdgoutput_v1_interface.cpp index ddb4a922ba..8125ef3a10 100644 --- a/src/wayland/xdgoutput_v1_interface.cpp +++ b/src/wayland/xdgoutput_v1_interface.cpp @@ -216,3 +216,5 @@ void XdgOutputV1Interface::resend() } } } + +#include "moc_xdgoutput_v1_interface.cpp" diff --git a/src/wayland/xdgshell_interface.cpp b/src/wayland/xdgshell_interface.cpp index f1d74b8104..38c3ade79b 100644 --- a/src/wayland/xdgshell_interface.cpp +++ b/src/wayland/xdgshell_interface.cpp @@ -1012,3 +1012,5 @@ XdgPositioner::XdgPositioner(const QSharedDataPointer &data) } } // namespace KWaylandServer + +#include "moc_xdgshell_interface.cpp" diff --git a/src/wayland/xwaylandkeyboardgrab_v1_interface.cpp b/src/wayland/xwaylandkeyboardgrab_v1_interface.cpp index e74e04a2d8..38402194e7 100644 --- a/src/wayland/xwaylandkeyboardgrab_v1_interface.cpp +++ b/src/wayland/xwaylandkeyboardgrab_v1_interface.cpp @@ -108,3 +108,5 @@ XWaylandKeyboardGrabV1Interface::~XWaylandKeyboardGrabV1Interface() } } + +#include "moc_xwaylandkeyboardgrab_v1_interface.cpp" diff --git a/src/wayland/xwaylandshell_v1_interface.cpp b/src/wayland/xwaylandshell_v1_interface.cpp index 8b76e0696b..6a023a1348 100644 --- a/src/wayland/xwaylandshell_v1_interface.cpp +++ b/src/wayland/xwaylandshell_v1_interface.cpp @@ -163,3 +163,5 @@ std::optional XwaylandSurfaceV1Interface::serial() const } } // namespace KWaylandServer + +#include "moc_xwaylandshell_v1_interface.cpp" diff --git a/src/wayland_server.cpp b/src/wayland_server.cpp index d60e83d561..1c722ecad0 100644 --- a/src/wayland_server.cpp +++ b/src/wayland_server.cpp @@ -843,3 +843,5 @@ WaylandServer::LockScreenPresentationWatcher::LockScreenPresentationWatcher(Wayl } #endif } + +#include "moc_wayland_server.cpp" diff --git a/src/waylandshellintegration.cpp b/src/waylandshellintegration.cpp index 5b3757c31b..05a488f4e7 100644 --- a/src/waylandshellintegration.cpp +++ b/src/waylandshellintegration.cpp @@ -15,3 +15,5 @@ WaylandShellIntegration::WaylandShellIntegration(QObject *parent) } } // namespace KWin + +#include "moc_waylandshellintegration.cpp" diff --git a/src/waylandwindow.cpp b/src/waylandwindow.cpp index 610e0c7252..1504f1e6aa 100644 --- a/src/waylandwindow.cpp +++ b/src/waylandwindow.cpp @@ -297,3 +297,5 @@ void WaylandWindow::markAsMapped() } } // namespace KWin + +#include "moc_waylandwindow.cpp" diff --git a/src/workspace.cpp b/src/workspace.cpp index 9573299e0f..832f852707 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -3072,3 +3072,5 @@ Activities *Workspace::activities() const #endif } // namespace + +#include "moc_workspace.cpp" diff --git a/src/x11window.cpp b/src/x11window.cpp index ce5793c9d7..3046644080 100644 --- a/src/x11window.cpp +++ b/src/x11window.cpp @@ -5152,3 +5152,5 @@ void X11Window::getSkipCloseAnimation() } } // namespace + +#include "moc_x11window.cpp" diff --git a/src/xdgactivationv1.cpp b/src/xdgactivationv1.cpp index 67dc39be40..ac7b520256 100644 --- a/src/xdgactivationv1.cpp +++ b/src/xdgactivationv1.cpp @@ -152,3 +152,5 @@ void XdgActivationV1Integration::clear() } } + +#include "moc_xdgactivationv1.cpp" diff --git a/src/xdgshellintegration.cpp b/src/xdgshellintegration.cpp index f41b97c966..03a7bbafba 100644 --- a/src/xdgshellintegration.cpp +++ b/src/xdgshellintegration.cpp @@ -76,3 +76,5 @@ void XdgShellIntegration::registerXdgPopup(XdgPopupInterface *popup) } } // namespace KWin + +#include "moc_xdgshellintegration.cpp" diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 2d6ba9f95c..f83d2653a8 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -1819,3 +1819,5 @@ void XdgPopupWindow::initialize() } } // namespace KWin + +#include "moc_xdgshellwindow.cpp" diff --git a/src/xkb.cpp b/src/xkb.cpp index ad08ea21c2..9eb9cd1c59 100644 --- a/src/xkb.cpp +++ b/src/xkb.cpp @@ -717,3 +717,5 @@ std::optional Xkb::keycodeFromKeysym(xkb_keysym_t keysym) return {}; } } + +#include "moc_xkb.cpp" diff --git a/src/xwayland/clipboard.cpp b/src/xwayland/clipboard.cpp index daab05cd2d..d312a6cb18 100644 --- a/src/xwayland/clipboard.cpp +++ b/src/xwayland/clipboard.cpp @@ -175,3 +175,5 @@ void Clipboard::x11OffersChanged(const QStringList &added, const QStringList &re } // namespace Xwl } // namespace KWin + +#include "moc_clipboard.cpp" diff --git a/src/xwayland/databridge.cpp b/src/xwayland/databridge.cpp index 6905237cf7..265ebc31dd 100644 --- a/src/xwayland/databridge.cpp +++ b/src/xwayland/databridge.cpp @@ -58,3 +58,5 @@ DragEventReply DataBridge::dragMoveFilter(Window *target) } // namespace Xwl } // namespace KWin + +#include "moc_databridge.cpp" diff --git a/src/xwayland/datasource.cpp b/src/xwayland/datasource.cpp index 0360768812..e80b928b16 100644 --- a/src/xwayland/datasource.cpp +++ b/src/xwayland/datasource.cpp @@ -64,3 +64,5 @@ bool XwlDataSource::isAccepted() const } } } + +#include "moc_datasource.cpp" diff --git a/src/xwayland/dnd.cpp b/src/xwayland/dnd.cpp index 6e161966de..2b35fbac42 100644 --- a/src/xwayland/dnd.cpp +++ b/src/xwayland/dnd.cpp @@ -208,3 +208,5 @@ xcb_atom_t Dnd::clientActionToAtom(DnDAction action) } // namespace Xwl } // namespace KWin + +#include "moc_dnd.cpp" diff --git a/src/xwayland/drag.cpp b/src/xwayland/drag.cpp index 67843c891c..1a1ab31fff 100644 --- a/src/xwayland/drag.cpp +++ b/src/xwayland/drag.cpp @@ -48,3 +48,5 @@ void Drag::sendClientMessage(xcb_window_t target, xcb_atom_t type, xcb_client_me } // namespace Xwl } // namespace KWin + +#include "moc_drag.cpp" diff --git a/src/xwayland/drag_wl.cpp b/src/xwayland/drag_wl.cpp index 866eb095b4..61a80c40e5 100644 --- a/src/xwayland/drag_wl.cpp +++ b/src/xwayland/drag_wl.cpp @@ -379,3 +379,5 @@ void Xvisit::stopConnections() } // namespace Xwl } // namespace KWin + +#include "moc_drag_wl.cpp" diff --git a/src/xwayland/drag_x.cpp b/src/xwayland/drag_x.cpp index 5a55986419..1d81a834ce 100644 --- a/src/xwayland/drag_x.cpp +++ b/src/xwayland/drag_x.cpp @@ -512,3 +512,5 @@ void WlVisit::unmapProxyWindow() } // namespace Xwl } // namespace KWin + +#include "moc_drag_x.cpp" diff --git a/src/xwayland/primary.cpp b/src/xwayland/primary.cpp index 9a44bf19e4..9e87d83f48 100644 --- a/src/xwayland/primary.cpp +++ b/src/xwayland/primary.cpp @@ -178,3 +178,5 @@ void Primary::x11OffersChanged(const QStringList &added, const QStringList &remo } // namespace Xwl } // namespace KWin + +#include "moc_primary.cpp" diff --git a/src/xwayland/selection.cpp b/src/xwayland/selection.cpp index 9cdf2d26ac..84d182f230 100644 --- a/src/xwayland/selection.cpp +++ b/src/xwayland/selection.cpp @@ -351,3 +351,5 @@ void Selection::timeoutTransfers() } // namespace Xwl } // namespace KWin + +#include "moc_selection.cpp" diff --git a/src/xwayland/selection_source.cpp b/src/xwayland/selection_source.cpp index b35d4356a4..dad43348b7 100644 --- a/src/xwayland/selection_source.cpp +++ b/src/xwayland/selection_source.cpp @@ -286,3 +286,5 @@ void X11Source::startTransfer(const QString &mimeName, qint32 fd) } // namespace Xwl } // namespace KWin + +#include "moc_selection_source.cpp" diff --git a/src/xwayland/transfer.cpp b/src/xwayland/transfer.cpp index 4568b6628a..ede0de004d 100644 --- a/src/xwayland/transfer.cpp +++ b/src/xwayland/transfer.cpp @@ -479,3 +479,5 @@ void TransferXtoWl::dataSourceWrite() } // namespace Xwl } // namespace KWin + +#include "moc_transfer.cpp" diff --git a/src/xwayland/xwayland.cpp b/src/xwayland/xwayland.cpp index 47dc83d0c8..b9dde1ea6d 100644 --- a/src/xwayland/xwayland.cpp +++ b/src/xwayland/xwayland.cpp @@ -467,3 +467,5 @@ KWaylandServer::AbstractDropHandler *Xwayland::xwlDropHandler() } // namespace Xwl } // namespace KWin + +#include "moc_xwayland.cpp" diff --git a/src/xwayland/xwaylandlauncher.cpp b/src/xwayland/xwaylandlauncher.cpp index 5d8016bfd1..a8a38092b0 100644 --- a/src/xwayland/xwaylandlauncher.cpp +++ b/src/xwayland/xwaylandlauncher.cpp @@ -322,3 +322,5 @@ void XwaylandLauncher::handleXwaylandError(QProcess::ProcessError error) } } + +#include "moc_xwaylandlauncher.cpp" diff --git a/src/xwayland/xwldrophandler.cpp b/src/xwayland/xwldrophandler.cpp index 907a228158..4d46b98b7c 100644 --- a/src/xwayland/xwldrophandler.cpp +++ b/src/xwayland/xwldrophandler.cpp @@ -74,3 +74,5 @@ void XwlDropHandler::updateDragTarget(KWaylandServer::SurfaceInterface *surface, } } } + +#include "moc_xwldrophandler.cpp" diff --git a/tests/pointerconstraintstest.cpp b/tests/pointerconstraintstest.cpp index 1c80236c96..1c9c7d08c5 100644 --- a/tests/pointerconstraintstest.cpp +++ b/tests/pointerconstraintstest.cpp @@ -387,3 +387,5 @@ int main(int argc, char **argv) return app.exec(); } + +#include "moc_pointerconstraintstest.cpp"