Unify the format for #include "config.h"

This commit is contained in:
Aleix Pol Gonzalez 2024-02-14 11:57:50 +01:00 committed by Aleix Pol Gonzalez
parent 26a7af5e5f
commit 94121c2a42
56 changed files with 64 additions and 57 deletions

View file

@ -8,7 +8,7 @@
*/ */
#include "drm_backend.h" #include "drm_backend.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "backends/libinput/libinputbackend.h" #include "backends/libinput/libinputbackend.h"
#include "core/outputconfiguration.h" #include "core/outputconfiguration.h"

View file

@ -9,6 +9,7 @@
#include "drm_egl_layer_surface.h" #include "drm_egl_layer_surface.h"
#include "config-kwin.h" #include "config-kwin.h"
#include "core/colortransformation.h" #include "core/colortransformation.h"
#include "core/graphicsbufferview.h" #include "core/graphicsbufferview.h"
#include "core/iccprofile.h" #include "core/iccprofile.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "drm_gpu.h" #include "drm_gpu.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/gbmgraphicsbufferallocator.h" #include "core/gbmgraphicsbufferallocator.h"
#include "core/session.h" #include "core/session.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "device.h" #include "device.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/output.h" #include "core/output.h"
#include "core/outputbackend.h" #include "core/outputbackend.h"

View file

@ -9,7 +9,8 @@
*/ */
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
// KWin // KWin
#include "core/inputbackend.h" #include "core/inputbackend.h"
#include "core/inputdevice.h" #include "core/inputdevice.h"

View file

@ -9,7 +9,7 @@
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
#include "core/outputbackend.h" #include "core/outputbackend.h"
#include <kwin_export.h> #include <kwin_export.h>

View file

@ -10,7 +10,7 @@
#include "x11_windowed_backend.h" #include "x11_windowed_backend.h"
#include "../common/kwinxrenderutils.h" #include "../common/kwinxrenderutils.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "utils/xcbutils.h" #include "utils/xcbutils.h"
#include "x11_windowed_egl_backend.h" #include "x11_windowed_egl_backend.h"

View file

@ -7,12 +7,12 @@
SPDX-License-Identifier: GPL-2.0-or-later SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include "x11_windowed_output.h" #include "x11_windowed_output.h"
#include "config-kwin.h"
#include "../common/kwinxrenderutils.h" #include "../common/kwinxrenderutils.h"
#include "x11_windowed_backend.h" #include "x11_windowed_backend.h"
#include "x11_windowed_logging.h" #include "x11_windowed_logging.h"
#include <config-kwin.h>
#include "compositor.h" #include "compositor.h"
#include "core/graphicsbuffer.h" #include "core/graphicsbuffer.h"
#include "core/outputlayer.h" #include "core/outputlayer.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "compositor.h" #include "compositor.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/output.h" #include "core/output.h"
#include "core/outputlayer.h" #include "core/outputlayer.h"

View file

@ -6,7 +6,7 @@
#include "core/gbmgraphicsbufferallocator.h" #include "core/gbmgraphicsbufferallocator.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/graphicsbuffer.h" #include "core/graphicsbuffer.h"
#include "utils/common.h" #include "utils/common.h"

View file

@ -8,9 +8,10 @@
*/ */
#pragma once #pragma once
#include "config-kwin.h"
#include "input.h" #include "input.h"
#include "input_event_spy.h" #include "input_event_spy.h"
#include <config-kwin.h>
#include <kwin_export.h> #include <kwin_export.h>
#include <QAbstractItemModel> #include <QAbstractItemModel>

View file

@ -8,7 +8,7 @@
*/ */
#include "decorationbridge.h" #include "decorationbridge.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "decoratedclient.h" #include "decoratedclient.h"
#include "decorations_logging.h" #include "decorations_logging.h"

View file

@ -6,7 +6,7 @@
SPDX-License-Identifier: GPL-2.0-or-later SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <config-kwin.h> #include "config-kwin.h"
#include "appmenu.h" #include "appmenu.h"
#include "compositor.h" #include "compositor.h"

View file

@ -9,7 +9,7 @@
// own // own
#include "effect/effectloader.h" #include "effect/effectloader.h"
// config // config
#include <config-kwin.h> #include "config-kwin.h"
// KWin // KWin
#include "effect/effect.h" #include "effect/effect.h"
#include "effect/effecthandler.h" #include "effect/effecthandler.h"

View file

@ -9,7 +9,7 @@
// own // own
#include "globalshortcuts.h" #include "globalshortcuts.h"
// config // config
#include <config-kwin.h> #include "config-kwin.h"
// kwin // kwin
#include "effect/globals.h" #include "effect/globals.h"
#include "gestures.h" #include "gestures.h"

View file

@ -9,7 +9,7 @@
SPDX-License-Identifier: GPL-2.0-or-later SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
#include "effect/globals.h" #include "effect/globals.h"
#include <QObject> #include <QObject>
@ -20,7 +20,6 @@
#include <KSharedConfig> #include <KSharedConfig>
#include <QSet> #include <QSet>
#include "config-kwin.h"
#include <functional> #include <functional>
class KGlobalAccelInterface; class KGlobalAccelInterface;

View file

@ -8,7 +8,7 @@
*/ */
#include "inputmethod.h" #include "inputmethod.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "input.h" #include "input.h"
#include "inputpanelv1window.h" #include "inputpanelv1window.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "effectsmodel.h" #include "effectsmodel.h"
#include <config-kwin.h> #include "config-kwin.h"
#include <kwin_effects_interface.h> #include <kwin_effects_interface.h>

View file

@ -6,7 +6,7 @@
*/ */
#include "kcm.h" #include "kcm.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "declarative-plugin/buttonsmodel.h" #include "declarative-plugin/buttonsmodel.h"
#include "decorationmodel.h" #include "decorationmodel.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "keyboard_input.h" #include "keyboard_input.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "input_event.h" #include "input_event.h"
#include "input_event_spy.h" #include "input_event_spy.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "main.h" #include "main.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "atoms.h" #include "atoms.h"
#include "colors/colormanager.h" #include "colors/colormanager.h"

View file

@ -10,8 +10,9 @@
#pragma once #pragma once
#include "config-kwin.h"
#include "effect/globals.h" #include "effect/globals.h"
#include <config-kwin.h>
#include <KSharedConfig> #include <KSharedConfig>
#include <memory> #include <memory>

View file

@ -8,7 +8,7 @@
*/ */
#include "main_wayland.h" #include "main_wayland.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "backends/drm/drm_backend.h" #include "backends/drm/drm_backend.h"
#include "backends/virtual/virtual_backend.h" #include "backends/virtual/virtual_backend.h"

View file

@ -10,7 +10,7 @@
*/ */
#include "main_x11.h" #include "main_x11.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "backends/x11/standalone/x11_standalone_backend.h" #include "backends/x11/standalone/x11_standalone_backend.h"
#include "compositor_x11.h" #include "compositor_x11.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "modifier_only_shortcuts.h" #include "modifier_only_shortcuts.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "input_event.h" #include "input_event.h"
#include "options.h" #include "options.h"

View file

@ -6,7 +6,7 @@
*/ */
#include "onscreennotification.h" #include "onscreennotification.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "input.h" #include "input.h"
#include "input_event.h" #include "input_event.h"

View file

@ -6,7 +6,8 @@
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
#include <kwin_export.h> #include <kwin_export.h>
#include <QObject> #include <QObject>

View file

@ -5,7 +5,7 @@
*/ */
#include "blur_config.h" #include "blur_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "blurconfig.h" #include "blurconfig.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "diminactive_config.h" #include "diminactive_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "diminactiveconfig.h" #include "diminactiveconfig.h"

View file

@ -6,7 +6,7 @@
*/ */
#include "glide_config.h" #include "glide_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "glideconfig.h" #include "glideconfig.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "magiclamp_config.h" #include "magiclamp_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "magiclampconfig.h" #include "magiclampconfig.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "magnifier_config.h" #include "magnifier_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "magnifierconfig.h" #include "magnifierconfig.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "mouseclick_config.h" #include "mouseclick_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "mouseclickconfig.h" #include "mouseclickconfig.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "mousemark_config.h" #include "mousemark_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "mousemarkconfig.h" #include "mousemarkconfig.h"

View file

@ -5,7 +5,7 @@
*/ */
#include "overvieweffectkcm.h" #include "overvieweffectkcm.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "overviewconfig.h" #include "overviewconfig.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "slide_config.h" #include "slide_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "slideconfig.h" #include "slideconfig.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "thumbnailaside_config.h" #include "thumbnailaside_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "thumbnailasideconfig.h" #include "thumbnailasideconfig.h"

View file

@ -5,7 +5,7 @@
*/ */
#include "tileseditoreffectkcm.h" #include "tileseditoreffectkcm.h"
#include <config-kwin.h> #include "config-kwin.h"
#include <kwineffects_interface.h> #include <kwineffects_interface.h>

View file

@ -9,7 +9,7 @@
*/ */
#include "trackmouse_config.h" #include "trackmouse_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "trackmouseconfig.h" #include "trackmouseconfig.h"

View file

@ -6,7 +6,7 @@
*/ */
#include "windowvieweffectkcm.h" #include "windowvieweffectkcm.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "windowviewconfig.h" #include "windowviewconfig.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "wobblywindows_config.h" #include "wobblywindows_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "wobblywindowsconfig.h" #include "wobblywindowsconfig.h"

View file

@ -10,7 +10,7 @@
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
#include "effect/effect.h" #include "effect/effect.h"
#include <QTime> #include <QTime>

View file

@ -9,7 +9,7 @@
*/ */
#include "zoom_config.h" #include "zoom_config.h"
#include <config-kwin.h> #include "config-kwin.h"
// KConfigSkeleton // KConfigSkeleton
#include "zoomconfig.h" #include "zoomconfig.h"

View file

@ -11,7 +11,7 @@
*/ */
#include "pointer_input.h" #include "pointer_input.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/output.h" #include "core/output.h"
#include "cursorsource.h" #include "cursorsource.h"

View file

@ -18,7 +18,7 @@
#include "screenedge.h" #include "screenedge.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "core/output.h" #include "core/output.h"
#include "cursor.h" #include "cursor.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "screenedgehandler.h" #include "screenedgehandler.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "screenedge.h" #include "screenedge.h"
#include "workspace.h" #include "workspace.h"

View file

@ -8,7 +8,7 @@
*/ */
#include "tabboxhandler.h" #include "tabboxhandler.h"
#include <config-kwin.h> #include "config-kwin.h"
// own // own
#include "clientmodel.h" #include "clientmodel.h"

View file

@ -7,10 +7,11 @@
#pragma once #pragma once
#include "config-kwin.h"
#include "effect/globals.h" #include "effect/globals.h"
#include <KConfigWatcher> #include <KConfigWatcher>
#include <QObject> #include <QObject>
#include <config-kwin.h>
#include <kwin_export.h> #include <kwin_export.h>
namespace KWin namespace KWin

View file

@ -9,7 +9,7 @@
*/ */
#include "touch_input.h" #include "touch_input.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "decorations/decoratedclient.h" #include "decorations/decoratedclient.h"
#include "input_event_spy.h" #include "input_event_spy.h"

View file

@ -23,7 +23,7 @@
// in sync // in sync
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
#include <config-kwin.h> #include "config-kwin.h"
#include "core/output.h" #include "core/output.h"
#include "cursor.h" #include "cursor.h"

View file

@ -9,9 +9,10 @@
*/ */
#include "edid.h" #include "edid.h"
#include "config-kwin.h"
#include "c_ptr.h" #include "c_ptr.h"
#include "common.h" #include "common.h"
#include "config-kwin.h"
#include <QFile> #include <QFile>
#include <QStandardPaths> #include <QStandardPaths>

View file

@ -10,7 +10,8 @@
#pragma once #pragma once
#include <config-kwin.h> #include "config-kwin.h"
#include <kwin_export.h> #include <kwin_export.h>
#if HAVE_MEMFD #if HAVE_MEMFD

View file

@ -10,7 +10,7 @@
#pragma once #pragma once
// cmake stuff // cmake stuff
#include <config-kwin.h> #include "config-kwin.h"
// kwin // kwin
#include "effect/globals.h" #include "effect/globals.h"
// Qt // Qt

View file

@ -8,7 +8,7 @@
*/ */
#include "wayland_server.h" #include "wayland_server.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "backends/drm/drm_backend.h" #include "backends/drm/drm_backend.h"
#include "core/output.h" #include "core/output.h"

View file

@ -10,7 +10,7 @@
*/ */
#include "xwayland.h" #include "xwayland.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "databridge.h" #include "databridge.h"
#include "dnd.h" #include "dnd.h"

View file

@ -10,7 +10,7 @@
*/ */
#include "xwaylandlauncher.h" #include "xwaylandlauncher.h"
#include <config-kwin.h> #include "config-kwin.h"
#include "xwayland_logging.h" #include "xwayland_logging.h"
#include "xwaylandsocket.h" #include "xwaylandsocket.h"