From 86c6238cfa66c62fdf35014f49a33eae0a00e6c8 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 3 Jul 2023 21:28:19 +0200 Subject: [PATCH] Don't use QtTest => use QTest + missing include --- autotests/drm/drmTest.cpp | 2 +- autotests/integration/debug_console_test.cpp | 1 + autotests/integration/decoration_input_test.cpp | 2 ++ autotests/integration/dont_crash_cancel_animation.cpp | 2 ++ autotests/integration/dont_crash_glxgears.cpp | 2 ++ autotests/integration/generic_scene_opengl_test.cpp | 1 + autotests/integration/input_stacking_order.cpp | 2 ++ autotests/integration/internal_window.cpp | 1 + autotests/integration/kwin_wayland_test.h | 3 ++- autotests/integration/kwinbindings_test.cpp | 1 + autotests/integration/lockscreen.cpp | 1 + autotests/integration/maximize_test.cpp | 2 ++ autotests/integration/platformcursor.cpp | 2 ++ autotests/integration/screenedges_test.cpp | 2 ++ autotests/integration/test_helpers.cpp | 2 ++ autotests/integration/touch_input_test.cpp | 1 + autotests/integration/transient_placement.cpp | 2 ++ autotests/integration/xwayland_input_test.cpp | 1 + autotests/integration/xwayland_selections_test.cpp | 1 + autotests/libinput/device_test.cpp | 3 ++- autotests/libinput/gesture_event_test.cpp | 2 +- autotests/libinput/input_event_test.cpp | 2 +- autotests/libinput/key_event_test.cpp | 2 +- autotests/libinput/pointer_event_test.cpp | 2 +- autotests/libinput/switch_event_test.cpp | 2 +- autotests/libinput/touch_event_test.cpp | 2 +- autotests/libkwineffects/timelinetest.cpp | 2 +- autotests/opengl_context_attribute_builder_test.cpp | 2 +- autotests/test_client_machine.cpp | 4 +++- autotests/test_utils.cpp | 2 +- autotests/test_virtual_desktops.cpp | 3 ++- autotests/test_window_paint_data.cpp | 2 +- autotests/test_xcb_size_hints.cpp | 4 ++-- autotests/test_xcb_window.cpp | 2 +- autotests/test_xcb_wrapper.cpp | 4 ++-- autotests/test_xkb.cpp | 2 +- src/wayland/autotests/client/test_datadevice.cpp | 4 +++- src/wayland/autotests/client/test_datasource.cpp | 4 +++- src/wayland/autotests/client/test_drag_drop.cpp | 4 +++- src/wayland/autotests/client/test_error.cpp | 3 ++- src/wayland/autotests/client/test_fake_input.cpp | 3 ++- src/wayland/autotests/client/test_plasma_activities.cpp | 3 ++- src/wayland/autotests/client/test_plasma_virtual_desktop.cpp | 3 ++- src/wayland/autotests/client/test_plasmashell.cpp | 3 ++- src/wayland/autotests/client/test_pointer_constraints.cpp | 3 ++- src/wayland/autotests/client/test_selection.cpp | 3 ++- src/wayland/autotests/client/test_server_side_decoration.cpp | 3 ++- .../autotests/client/test_server_side_decoration_palette.cpp | 3 ++- src/wayland/autotests/client/test_shadow.cpp | 3 ++- src/wayland/autotests/client/test_shm_pool.cpp | 3 ++- src/wayland/autotests/client/test_text_input_v2.cpp | 3 ++- src/wayland/autotests/client/test_wayland_appmenu.cpp | 3 ++- src/wayland/autotests/client/test_wayland_blur.cpp | 3 ++- src/wayland/autotests/client/test_wayland_contrast.cpp | 3 ++- src/wayland/autotests/client/test_wayland_filter.cpp | 3 ++- src/wayland/autotests/client/test_wayland_output.cpp | 3 ++- src/wayland/autotests/client/test_wayland_seat.cpp | 4 +++- src/wayland/autotests/client/test_wayland_slide.cpp | 3 ++- src/wayland/autotests/client/test_wayland_subsurface.cpp | 3 ++- src/wayland/autotests/client/test_wayland_surface.cpp | 3 ++- .../autotests/client/test_wayland_windowmanagement.cpp | 3 ++- src/wayland/autotests/client/test_xdg_decoration.cpp | 3 ++- src/wayland/autotests/client/test_xdg_foreign.cpp | 3 ++- src/wayland/autotests/client/test_xdg_output.cpp | 3 ++- src/wayland/autotests/client/test_xdg_shell.cpp | 3 ++- src/wayland/autotests/server/test_datacontrol_interface.cpp | 3 ++- src/wayland/autotests/server/test_display.cpp | 3 ++- src/wayland/autotests/server/test_inputmethod_interface.cpp | 3 ++- .../server/test_keyboard_shortcuts_inhibitor_interface.cpp | 3 ++- src/wayland/autotests/server/test_layershellv1_interface.cpp | 3 ++- src/wayland/autotests/server/test_no_xdg_runtime_dir.cpp | 3 ++- src/wayland/autotests/server/test_screencast.cpp | 3 ++- src/wayland/autotests/server/test_seat.cpp | 3 ++- src/wayland/autotests/server/test_tablet_interface.cpp | 3 ++- src/wayland/autotests/server/test_textinputv1_interface.cpp | 3 ++- src/wayland/autotests/server/test_textinputv3_interface.cpp | 3 ++- src/wayland/autotests/server/test_viewporter_interface.cpp | 3 ++- 77 files changed, 138 insertions(+), 62 deletions(-) diff --git a/autotests/drm/drmTest.cpp b/autotests/drm/drmTest.cpp index 60c07a999f..8464960bfd 100644 --- a/autotests/drm/drmTest.cpp +++ b/autotests/drm/drmTest.cpp @@ -8,7 +8,7 @@ */ #include -#include +#include #include "mock_drm.h" diff --git a/autotests/integration/debug_console_test.cpp b/autotests/integration/debug_console_test.cpp index f6adf576a9..3e35b93c7f 100644 --- a/autotests/integration/debug_console_test.cpp +++ b/autotests/integration/debug_console_test.cpp @@ -23,6 +23,7 @@ #include #include +#include namespace KWin { diff --git a/autotests/integration/decoration_input_test.cpp b/autotests/integration/decoration_input_test.cpp index a3613157f8..2eb4c5997b 100644 --- a/autotests/integration/decoration_input_test.cpp +++ b/autotests/integration/decoration_input_test.cpp @@ -33,6 +33,8 @@ #include #include +#include + #include Q_DECLARE_METATYPE(Qt::WindowFrameSection) diff --git a/autotests/integration/dont_crash_cancel_animation.cpp b/autotests/integration/dont_crash_cancel_animation.cpp index 2baa3a29fe..4a3859fc84 100644 --- a/autotests/integration/dont_crash_cancel_animation.cpp +++ b/autotests/integration/dont_crash_cancel_animation.cpp @@ -24,6 +24,8 @@ #include #include +#include + namespace KWin { diff --git a/autotests/integration/dont_crash_glxgears.cpp b/autotests/integration/dont_crash_glxgears.cpp index b0d63e86b9..24a6d33e07 100644 --- a/autotests/integration/dont_crash_glxgears.cpp +++ b/autotests/integration/dont_crash_glxgears.cpp @@ -15,6 +15,8 @@ #include +#include + namespace KWin { diff --git a/autotests/integration/generic_scene_opengl_test.cpp b/autotests/integration/generic_scene_opengl_test.cpp index 028ef70071..2ad1d77732 100644 --- a/autotests/integration/generic_scene_opengl_test.cpp +++ b/autotests/integration/generic_scene_opengl_test.cpp @@ -16,6 +16,7 @@ #include "window.h" #include +#include using namespace KWin; static const QString s_socketName = QStringLiteral("wayland_test_kwin_scene_opengl-0"); diff --git a/autotests/integration/input_stacking_order.cpp b/autotests/integration/input_stacking_order.cpp index 02743d4ac9..b9bff0e3eb 100644 --- a/autotests/integration/input_stacking_order.cpp +++ b/autotests/integration/input_stacking_order.cpp @@ -25,6 +25,8 @@ #include #include +#include + namespace KWin { diff --git a/autotests/integration/internal_window.cpp b/autotests/integration/internal_window.cpp index 2d34bbfbaa..f8261415dd 100644 --- a/autotests/integration/internal_window.cpp +++ b/autotests/integration/internal_window.cpp @@ -18,6 +18,7 @@ #include #include +#include #include #include diff --git a/autotests/integration/kwin_wayland_test.h b/autotests/integration/kwin_wayland_test.h index d33e7246ed..5137f8ab0f 100644 --- a/autotests/integration/kwin_wayland_test.h +++ b/autotests/integration/kwin_wayland_test.h @@ -14,7 +14,8 @@ #include "window.h" // Qt -#include +#include +#include #include #include diff --git a/autotests/integration/kwinbindings_test.cpp b/autotests/integration/kwinbindings_test.cpp index e3050aefb9..1081f1fc79 100644 --- a/autotests/integration/kwinbindings_test.cpp +++ b/autotests/integration/kwinbindings_test.cpp @@ -22,6 +22,7 @@ #include #include #include +#include using namespace KWin; diff --git a/autotests/integration/lockscreen.cpp b/autotests/integration/lockscreen.cpp index 516ffeb5b4..7652c94463 100644 --- a/autotests/integration/lockscreen.cpp +++ b/autotests/integration/lockscreen.cpp @@ -36,6 +36,7 @@ #include #include +#include #include diff --git a/autotests/integration/maximize_test.cpp b/autotests/integration/maximize_test.cpp index 08a24596bb..8c6f4082d5 100644 --- a/autotests/integration/maximize_test.cpp +++ b/autotests/integration/maximize_test.cpp @@ -24,6 +24,8 @@ #include #include +#include + using namespace KWin; static const QString s_socketName = QStringLiteral("wayland_test_kwin_maximized-0"); diff --git a/autotests/integration/platformcursor.cpp b/autotests/integration/platformcursor.cpp index 252f34be47..2786a7c831 100644 --- a/autotests/integration/platformcursor.cpp +++ b/autotests/integration/platformcursor.cpp @@ -11,6 +11,8 @@ #include "cursor.h" #include "wayland_server.h" +#include + namespace KWin { diff --git a/autotests/integration/screenedges_test.cpp b/autotests/integration/screenedges_test.cpp index bfa38350a2..07a41337bb 100644 --- a/autotests/integration/screenedges_test.cpp +++ b/autotests/integration/screenedges_test.cpp @@ -23,7 +23,9 @@ #include #include +#include #include +#include #include diff --git a/autotests/integration/test_helpers.cpp b/autotests/integration/test_helpers.cpp index 3f650314e2..445c5cbce8 100644 --- a/autotests/integration/test_helpers.cpp +++ b/autotests/integration/test_helpers.cpp @@ -8,6 +8,8 @@ */ #include +#include + #include "kwin_wayland_test.h" #if KWIN_BUILD_SCREENLOCKER diff --git a/autotests/integration/touch_input_test.cpp b/autotests/integration/touch_input_test.cpp index b401c608a9..85dc4ee9ef 100644 --- a/autotests/integration/touch_input_test.cpp +++ b/autotests/integration/touch_input_test.cpp @@ -22,6 +22,7 @@ #include #include +#include namespace KWin { diff --git a/autotests/integration/transient_placement.cpp b/autotests/integration/transient_placement.cpp index ae2ee1f2fb..a5a17e24ff 100644 --- a/autotests/integration/transient_placement.cpp +++ b/autotests/integration/transient_placement.cpp @@ -29,6 +29,8 @@ #include #include +#include + struct PopupLayout { QRect anchorRect; diff --git a/autotests/integration/xwayland_input_test.cpp b/autotests/integration/xwayland_input_test.cpp index 5352c4e985..ff619bd447 100644 --- a/autotests/integration/xwayland_input_test.cpp +++ b/autotests/integration/xwayland_input_test.cpp @@ -15,6 +15,7 @@ #include "workspace.h" #include "x11window.h" +#include #include #include diff --git a/autotests/integration/xwayland_selections_test.cpp b/autotests/integration/xwayland_selections_test.cpp index 10aadd3a75..7809935b60 100644 --- a/autotests/integration/xwayland_selections_test.cpp +++ b/autotests/integration/xwayland_selections_test.cpp @@ -18,6 +18,7 @@ #include #include +#include using namespace KWin; diff --git a/autotests/libinput/device_test.cpp b/autotests/libinput/device_test.cpp index 2000328979..27aba83fce 100644 --- a/autotests/libinput/device_test.cpp +++ b/autotests/libinput/device_test.cpp @@ -15,7 +15,8 @@ #include #include -#include +#include +#include #include diff --git a/autotests/libinput/gesture_event_test.cpp b/autotests/libinput/gesture_event_test.cpp index c57ca694f6..a99708539d 100644 --- a/autotests/libinput/gesture_event_test.cpp +++ b/autotests/libinput/gesture_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "backends/libinput/events.h" -#include +#include #include diff --git a/autotests/libinput/input_event_test.cpp b/autotests/libinput/input_event_test.cpp index 91ed538581..ed2096e6a5 100644 --- a/autotests/libinput/input_event_test.cpp +++ b/autotests/libinput/input_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "input_event.h" -#include +#include Q_DECLARE_METATYPE(KWin::SwitchEvent::State); diff --git a/autotests/libinput/key_event_test.cpp b/autotests/libinput/key_event_test.cpp index 8bf7057445..49800212ab 100644 --- a/autotests/libinput/key_event_test.cpp +++ b/autotests/libinput/key_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "backends/libinput/events.h" -#include +#include #include diff --git a/autotests/libinput/pointer_event_test.cpp b/autotests/libinput/pointer_event_test.cpp index 39ab3cde72..02bc634c48 100644 --- a/autotests/libinput/pointer_event_test.cpp +++ b/autotests/libinput/pointer_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "backends/libinput/events.h" -#include +#include #include diff --git a/autotests/libinput/switch_event_test.cpp b/autotests/libinput/switch_event_test.cpp index e65bbad0e3..b411851a64 100644 --- a/autotests/libinput/switch_event_test.cpp +++ b/autotests/libinput/switch_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "backends/libinput/events.h" -#include +#include #include diff --git a/autotests/libinput/touch_event_test.cpp b/autotests/libinput/touch_event_test.cpp index eaf21ea8a9..5c740f1a56 100644 --- a/autotests/libinput/touch_event_test.cpp +++ b/autotests/libinput/touch_event_test.cpp @@ -11,7 +11,7 @@ #include "backends/libinput/device.h" #include "backends/libinput/events.h" -#include +#include #include diff --git a/autotests/libkwineffects/timelinetest.cpp b/autotests/libkwineffects/timelinetest.cpp index 7e7298a427..b193799087 100644 --- a/autotests/libkwineffects/timelinetest.cpp +++ b/autotests/libkwineffects/timelinetest.cpp @@ -9,7 +9,7 @@ #include "libkwineffects/kwineffects.h" -#include +#include using namespace std::chrono_literals; diff --git a/autotests/opengl_context_attribute_builder_test.cpp b/autotests/opengl_context_attribute_builder_test.cpp index fcd832ced3..4f43ebd6f8 100644 --- a/autotests/opengl_context_attribute_builder_test.cpp +++ b/autotests/opengl_context_attribute_builder_test.cpp @@ -8,7 +8,7 @@ */ #include "utils/abstract_opengl_context_attribute_builder.h" #include "utils/egl_context_attribute_builder.h" -#include +#include #include #include "libkwineffects/kwinconfig.h" diff --git a/autotests/test_client_machine.cpp b/autotests/test_client_machine.cpp index 89d533cd76..e11fe078b3 100644 --- a/autotests/test_client_machine.cpp +++ b/autotests/test_client_machine.cpp @@ -12,7 +12,9 @@ #include "utils/xcbutils.h" // Qt #include -#include +#include +#include +#include #include // xcb #include diff --git a/autotests/test_utils.cpp b/autotests/test_utils.cpp index 5888b5353f..b4c6716ce1 100644 --- a/autotests/test_utils.cpp +++ b/autotests/test_utils.cpp @@ -15,7 +15,7 @@ #include "utils/ramfile.h" -#include +#include using namespace KWin; diff --git a/autotests/test_virtual_desktops.cpp b/autotests/test_virtual_desktops.cpp index 7ea7aab44a..b857394ebf 100644 --- a/autotests/test_virtual_desktops.cpp +++ b/autotests/test_virtual_desktops.cpp @@ -12,7 +12,8 @@ #include #include -#include +#include +#include namespace KWin { diff --git a/autotests/test_window_paint_data.cpp b/autotests/test_window_paint_data.cpp index fe40ea6e5b..0ebde4358f 100644 --- a/autotests/test_window_paint_data.cpp +++ b/autotests/test_window_paint_data.cpp @@ -15,7 +15,7 @@ #include #include -#include +#include using namespace KWin; diff --git a/autotests/test_xcb_size_hints.cpp b/autotests/test_xcb_size_hints.cpp index 884aa206af..be84516eb3 100644 --- a/autotests/test_xcb_size_hints.cpp +++ b/autotests/test_xcb_size_hints.cpp @@ -11,9 +11,9 @@ #include "utils/xcbutils.h" // Qt #include -#include -#include +#include #include +#include // xcb #include #include diff --git a/autotests/test_xcb_window.cpp b/autotests/test_xcb_window.cpp index 86ec824d0f..95138d1b21 100644 --- a/autotests/test_xcb_window.cpp +++ b/autotests/test_xcb_window.cpp @@ -11,7 +11,7 @@ #include "utils/xcbutils.h" // Qt #include -#include +#include #include // xcb #include diff --git a/autotests/test_xcb_wrapper.cpp b/autotests/test_xcb_wrapper.cpp index 472a7273c7..5037353c31 100644 --- a/autotests/test_xcb_wrapper.cpp +++ b/autotests/test_xcb_wrapper.cpp @@ -11,9 +11,9 @@ #include "utils/xcbutils.h" // Qt #include -#include -#include +#include #include +#include // xcb #include diff --git a/autotests/test_xkb.cpp b/autotests/test_xkb.cpp index a737637b10..03ede67f7a 100644 --- a/autotests/test_xkb.cpp +++ b/autotests/test_xkb.cpp @@ -8,7 +8,7 @@ */ #include "xkb.h" -#include +#include #include using namespace KWin; diff --git a/src/wayland/autotests/client/test_datadevice.cpp b/src/wayland/autotests/client/test_datadevice.cpp index 06d52f854f..0b0dd29415 100644 --- a/src/wayland/autotests/client/test_datadevice.cpp +++ b/src/wayland/autotests/client/test_datadevice.cpp @@ -4,7 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include +#include #include "wayland/compositor_interface.h" #include "wayland/datadevicemanager_interface.h" diff --git a/src/wayland/autotests/client/test_datasource.cpp b/src/wayland/autotests/client/test_datasource.cpp index 8bb1477ba3..77ed29ecdf 100644 --- a/src/wayland/autotests/client/test_datasource.cpp +++ b/src/wayland/autotests/client/test_datasource.cpp @@ -5,7 +5,9 @@ */ // Qt #include -#include +#include +#include +#include #include "wayland/datadevicemanager_interface.h" #include "wayland/datasource_interface.h" diff --git a/src/wayland/autotests/client/test_drag_drop.cpp b/src/wayland/autotests/client/test_drag_drop.cpp index 25422380ab..d9a99d7664 100644 --- a/src/wayland/autotests/client/test_drag_drop.cpp +++ b/src/wayland/autotests/client/test_drag_drop.cpp @@ -4,7 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/datadevicemanager_interface.h" diff --git a/src/wayland/autotests/client/test_error.cpp b/src/wayland/autotests/client/test_error.cpp index 064948f58b..654929f96b 100644 --- a/src/wayland/autotests/client/test_error.cpp +++ b/src/wayland/autotests/client/test_error.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // server #include "wayland/compositor_interface.h" diff --git a/src/wayland/autotests/client/test_fake_input.cpp b/src/wayland/autotests/client/test_fake_input.cpp index 8f7d053c4b..6e0707066b 100644 --- a/src/wayland/autotests/client/test_fake_input.cpp +++ b/src/wayland/autotests/client/test_fake_input.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // client #include "KWayland/Client/connection_thread.h" #include "KWayland/Client/event_queue.h" diff --git a/src/wayland/autotests/client/test_plasma_activities.cpp b/src/wayland/autotests/client/test_plasma_activities.cpp index e3d7c84bd9..ef64e069e5 100644 --- a/src/wayland/autotests/client/test_plasma_activities.cpp +++ b/src/wayland/autotests/client/test_plasma_activities.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp b/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp index be10cf4cfa..f2991ce807 100644 --- a/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp +++ b/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_plasmashell.cpp b/src/wayland/autotests/client/test_plasmashell.cpp index 6ee3b53932..f83c1a12ca 100644 --- a/src/wayland/autotests/client/test_plasmashell.cpp +++ b/src/wayland/autotests/client/test_plasmashell.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWayland #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_pointer_constraints.cpp b/src/wayland/autotests/client/test_pointer_constraints.cpp index 0683574a68..aeef4a3e4e 100644 --- a/src/wayland/autotests/client/test_pointer_constraints.cpp +++ b/src/wayland/autotests/client/test_pointer_constraints.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // client #include "KWayland/Client/compositor.h" #include "KWayland/Client/connection_thread.h" diff --git a/src/wayland/autotests/client/test_selection.cpp b/src/wayland/autotests/client/test_selection.cpp index 42cc60379f..3ca6bebb62 100644 --- a/src/wayland/autotests/client/test_selection.cpp +++ b/src/wayland/autotests/client/test_selection.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // client #include "KWayland/Client/compositor.h" #include "KWayland/Client/connection_thread.h" diff --git a/src/wayland/autotests/client/test_server_side_decoration.cpp b/src/wayland/autotests/client/test_server_side_decoration.cpp index a74d461036..f92ba83f58 100644 --- a/src/wayland/autotests/client/test_server_side_decoration.cpp +++ b/src/wayland/autotests/client/test_server_side_decoration.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_server_side_decoration_palette.cpp b/src/wayland/autotests/client/test_server_side_decoration_palette.cpp index e1cccd82ae..824e8693b3 100644 --- a/src/wayland/autotests/client/test_server_side_decoration_palette.cpp +++ b/src/wayland/autotests/client/test_server_side_decoration_palette.cpp @@ -5,7 +5,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_shadow.cpp b/src/wayland/autotests/client/test_shadow.cpp index 52ff98b9f7..51e85bca83 100644 --- a/src/wayland/autotests/client/test_shadow.cpp +++ b/src/wayland/autotests/client/test_shadow.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // client #include "KWayland/Client/compositor.h" #include "KWayland/Client/connection_thread.h" diff --git a/src/wayland/autotests/client/test_shm_pool.cpp b/src/wayland/autotests/client/test_shm_pool.cpp index 9658f48c22..16011c9a89 100644 --- a/src/wayland/autotests/client/test_shm_pool.cpp +++ b/src/wayland/autotests/client/test_shm_pool.cpp @@ -5,7 +5,8 @@ */ // Qt #include -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_text_input_v2.cpp b/src/wayland/autotests/client/test_text_input_v2.cpp index 4c4c20df65..0dac76342b 100644 --- a/src/wayland/autotests/client/test_text_input_v2.cpp +++ b/src/wayland/autotests/client/test_text_input_v2.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // client #include "KWayland/Client/compositor.h" #include "KWayland/Client/connection_thread.h" diff --git a/src/wayland/autotests/client/test_wayland_appmenu.cpp b/src/wayland/autotests/client/test_wayland_appmenu.cpp index 57a5d4f926..13495f0d97 100644 --- a/src/wayland/autotests/client/test_wayland_appmenu.cpp +++ b/src/wayland/autotests/client/test_wayland_appmenu.cpp @@ -5,7 +5,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/appmenu_interface.h" #include "wayland/compositor_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_blur.cpp b/src/wayland/autotests/client/test_wayland_blur.cpp index 45f0c2e4ca..72a3e776d0 100644 --- a/src/wayland/autotests/client/test_wayland_blur.cpp +++ b/src/wayland/autotests/client/test_wayland_blur.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/blur_interface.h" #include "wayland/compositor_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_contrast.cpp b/src/wayland/autotests/client/test_wayland_contrast.cpp index 9f930b9e41..074e1d5b2f 100644 --- a/src/wayland/autotests/client/test_wayland_contrast.cpp +++ b/src/wayland/autotests/client/test_wayland_contrast.cpp @@ -5,7 +5,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/contrast_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_filter.cpp b/src/wayland/autotests/client/test_wayland_filter.cpp index 85532b697c..c378f0a3aa 100644 --- a/src/wayland/autotests/client/test_wayland_filter.cpp +++ b/src/wayland/autotests/client/test_wayland_filter.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/blur_interface.h" #include "wayland/compositor_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_output.cpp b/src/wayland/autotests/client/test_wayland_output.cpp index b3fcc6692c..046c42e9b9 100644 --- a/src/wayland/autotests/client/test_wayland_output.cpp +++ b/src/wayland/autotests/client/test_wayland_output.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/display.h" #include "wayland/output_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_seat.cpp b/src/wayland/autotests/client/test_wayland_seat.cpp index c0ec3b30f9..a1e1f98c20 100644 --- a/src/wayland/autotests/client/test_wayland_seat.cpp +++ b/src/wayland/autotests/client/test_wayland_seat.cpp @@ -4,7 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/datadevicemanager_interface.h" diff --git a/src/wayland/autotests/client/test_wayland_slide.cpp b/src/wayland/autotests/client/test_wayland_slide.cpp index f01b2edd63..74bbf93f4f 100644 --- a/src/wayland/autotests/client/test_wayland_slide.cpp +++ b/src/wayland/autotests/client/test_wayland_slide.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_wayland_subsurface.cpp b/src/wayland/autotests/client/test_wayland_subsurface.cpp index 7f19079818..73e0a18058 100644 --- a/src/wayland/autotests/client/test_wayland_subsurface.cpp +++ b/src/wayland/autotests/client/test_wayland_subsurface.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_wayland_surface.cpp b/src/wayland/autotests/client/test_wayland_surface.cpp index 6914ce9a6a..5e165dbfcb 100644 --- a/src/wayland/autotests/client/test_wayland_surface.cpp +++ b/src/wayland/autotests/client/test_wayland_surface.cpp @@ -6,7 +6,8 @@ // Qt #include #include -#include +#include +#include // KWin #include "core/graphicsbuffer.h" #include "core/graphicsbufferview.h" diff --git a/src/wayland/autotests/client/test_wayland_windowmanagement.cpp b/src/wayland/autotests/client/test_wayland_windowmanagement.cpp index e6dc059a28..6a308d05d6 100644 --- a/src/wayland/autotests/client/test_wayland_windowmanagement.cpp +++ b/src/wayland/autotests/client/test_wayland_windowmanagement.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_xdg_decoration.cpp b/src/wayland/autotests/client/test_xdg_decoration.cpp index 9a42f5942d..37d1976006 100644 --- a/src/wayland/autotests/client/test_xdg_decoration.cpp +++ b/src/wayland/autotests/client/test_xdg_decoration.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_xdg_foreign.cpp b/src/wayland/autotests/client/test_xdg_foreign.cpp index e1ada28d65..38dfb15f9c 100644 --- a/src/wayland/autotests/client/test_xdg_foreign.cpp +++ b/src/wayland/autotests/client/test_xdg_foreign.cpp @@ -5,7 +5,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/client/test_xdg_output.cpp b/src/wayland/autotests/client/test_xdg_output.cpp index 43dfd67c77..230d2a5cb3 100644 --- a/src/wayland/autotests/client/test_xdg_output.cpp +++ b/src/wayland/autotests/client/test_xdg_output.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // KWin #include "wayland/display.h" #include "wayland/output_interface.h" diff --git a/src/wayland/autotests/client/test_xdg_shell.cpp b/src/wayland/autotests/client/test_xdg_shell.cpp index 5f6d96ecd1..5f930b3ec7 100644 --- a/src/wayland/autotests/client/test_xdg_shell.cpp +++ b/src/wayland/autotests/client/test_xdg_shell.cpp @@ -6,7 +6,8 @@ */ // Qt -#include +#include +#include // client #include "KWayland/Client/compositor.h" #include "KWayland/Client/connection_thread.h" diff --git a/src/wayland/autotests/server/test_datacontrol_interface.cpp b/src/wayland/autotests/server/test_datacontrol_interface.cpp index b86ac5757c..dff519c9a3 100644 --- a/src/wayland/autotests/server/test_datacontrol_interface.cpp +++ b/src/wayland/autotests/server/test_datacontrol_interface.cpp @@ -7,8 +7,9 @@ // Qt #include +#include +#include #include -#include // WaylandServer #include "wayland/compositor_interface.h" diff --git a/src/wayland/autotests/server/test_display.cpp b/src/wayland/autotests/server/test_display.cpp index 5d77ed6d4e..0c881c7ae4 100644 --- a/src/wayland/autotests/server/test_display.cpp +++ b/src/wayland/autotests/server/test_display.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // WaylandServer #include "wayland/clientconnection.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_inputmethod_interface.cpp b/src/wayland/autotests/server/test_inputmethod_interface.cpp index 6fbf6557b1..19935ac796 100644 --- a/src/wayland/autotests/server/test_inputmethod_interface.cpp +++ b/src/wayland/autotests/server/test_inputmethod_interface.cpp @@ -6,8 +6,9 @@ */ // Qt #include +#include +#include #include -#include #include "../../tests/fakeoutput.h" diff --git a/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp b/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp index 517f8ee311..0a40bf9e14 100644 --- a/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp +++ b/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp @@ -6,8 +6,9 @@ // Qt #include +#include +#include #include -#include // WaylandServer #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_layershellv1_interface.cpp b/src/wayland/autotests/server/test_layershellv1_interface.cpp index ab79299941..fd612a03d4 100644 --- a/src/wayland/autotests/server/test_layershellv1_interface.cpp +++ b/src/wayland/autotests/server/test_layershellv1_interface.cpp @@ -4,8 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ +#include +#include #include -#include #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_no_xdg_runtime_dir.cpp b/src/wayland/autotests/server/test_no_xdg_runtime_dir.cpp index baa588a034..6cfac68ccb 100644 --- a/src/wayland/autotests/server/test_no_xdg_runtime_dir.cpp +++ b/src/wayland/autotests/server/test_no_xdg_runtime_dir.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // WaylandServer #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_screencast.cpp b/src/wayland/autotests/server/test_screencast.cpp index 926b423e3d..2bbcd453da 100644 --- a/src/wayland/autotests/server/test_screencast.cpp +++ b/src/wayland/autotests/server/test_screencast.cpp @@ -6,8 +6,9 @@ // Qt #include +#include +#include #include -#include #include diff --git a/src/wayland/autotests/server/test_seat.cpp b/src/wayland/autotests/server/test_seat.cpp index 25565dc138..7a34386f70 100644 --- a/src/wayland/autotests/server/test_seat.cpp +++ b/src/wayland/autotests/server/test_seat.cpp @@ -4,7 +4,8 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ // Qt -#include +#include +#include // WaylandServer #include "wayland/display.h" #include "wayland/keyboard_interface.h" diff --git a/src/wayland/autotests/server/test_tablet_interface.cpp b/src/wayland/autotests/server/test_tablet_interface.cpp index 2a9fadd1ff..4695a4f11f 100644 --- a/src/wayland/autotests/server/test_tablet_interface.cpp +++ b/src/wayland/autotests/server/test_tablet_interface.cpp @@ -5,8 +5,9 @@ */ // Qt #include +#include +#include #include -#include // WaylandServer #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_textinputv1_interface.cpp b/src/wayland/autotests/server/test_textinputv1_interface.cpp index 86a6486d49..a61280cebb 100644 --- a/src/wayland/autotests/server/test_textinputv1_interface.cpp +++ b/src/wayland/autotests/server/test_textinputv1_interface.cpp @@ -4,8 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ +#include +#include #include -#include #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_textinputv3_interface.cpp b/src/wayland/autotests/server/test_textinputv3_interface.cpp index 849cab062e..daa6cc7e5f 100644 --- a/src/wayland/autotests/server/test_textinputv3_interface.cpp +++ b/src/wayland/autotests/server/test_textinputv3_interface.cpp @@ -4,8 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ +#include +#include #include -#include #include "wayland/compositor_interface.h" #include "wayland/display.h" diff --git a/src/wayland/autotests/server/test_viewporter_interface.cpp b/src/wayland/autotests/server/test_viewporter_interface.cpp index b61476380e..8fd10c1fdb 100644 --- a/src/wayland/autotests/server/test_viewporter_interface.cpp +++ b/src/wayland/autotests/server/test_viewporter_interface.cpp @@ -4,8 +4,9 @@ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ +#include +#include #include -#include #include "wayland/compositor_interface.h" #include "wayland/display.h"