Commit 2ac86115 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent 9ffc8bf7
......@@ -13,7 +13,6 @@
#include "decorations/decoratedclient.h"
#include "decorations/decorationpalette.h"
#include "decorations/decorationbridge.h"
#include "cursor.h"
#include "effects.h"
#include "focuschain.h"
#include "outline.h"
......
......@@ -12,7 +12,6 @@
#include "workspace.h"
// KDE
#include <KConfigGroup>
#include <kactivities/controller.h>
// Qt
#include <QtConcurrentRun>
#include <QDBusInterface>
......
......@@ -9,7 +9,6 @@
#include "mock_drm.h"
#include <QMap>
#include <QVector>
static QMap<int, QVector<_drmModeProperty>> s_drmProperties{};
......
......@@ -6,7 +6,6 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <libinput.h>
#include "mock_libinput.h"
#include <config-kwin.h>
......
......@@ -9,7 +9,6 @@
#include "cursor.h"
// kwin
#include <kwinglobals.h>
#include "input.h"
#include "keyboard_input.h"
#include "main.h"
......
......@@ -13,7 +13,6 @@
#include "abstract_client.h"
#include "composite.h"
#include "cursor.h"
#include "options.h"
#include "platform.h"
#include "workspace.h"
......
......@@ -14,10 +14,7 @@
#include "decorations_logging.h"
#include <KConfigGroup>
#include <KSharedConfig>
#include <KColorScheme>
#include <QPalette>
#include <QFileInfo>
#include <QStandardPaths>
......
......@@ -23,7 +23,6 @@
#include <QtConcurrentRun>
#include <QDebug>
#include <QFutureWatcher>
#include <QMap>
#include <QStringList>
namespace KWin
......
......@@ -9,7 +9,6 @@
#include <kwineffects.h>
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include <QByteArray>
#include <QTextStream>
......
......@@ -12,7 +12,6 @@
#include <kwinconfig.h>
#include <QFile>
#include <QFont>
#include <QIcon>
#include <QMatrix4x4>
#include <QMouseEvent>
......@@ -20,7 +19,6 @@
#include <KLocalizedString>
#include <kcolorscheme.h>
#include <kwinglutils.h>
#include <kwinglplatform.h>
#include <cmath>
......
......@@ -10,7 +10,6 @@
// KConfigSkeleton
#include "cubeconfig.h"
#include "cube_inside.h"
#include <QAction>
#include <KGlobalAccel>
......@@ -30,7 +29,6 @@
#include <cmath>
#include <kwinglutils.h>
#include <kwinglplatform.h>
namespace KWin
......
......@@ -12,7 +12,6 @@
#include "cubeslideconfig.h"
#include <kwinconfig.h>
#include <kwinglutils.h>
#include <QVector3D>
......
......@@ -12,9 +12,7 @@
#include <QAction>
#include <kwinconfig.h>
#include <QFont>
#include <QKeyEvent>
#include <QMatrix4x4>
#include <KGlobalAccel>
#include <KLocalizedString>
......
......@@ -12,10 +12,8 @@
#include "mouseclickconfig.h"
#include <QAction>
#include <kwinglutils.h>
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
#include <kwinxrenderutils.h>
#include <xcb/xcb.h>
#include <xcb/render.h>
#endif
......
......@@ -16,7 +16,6 @@
#include <QAction>
#include <kwinconfig.h>
#include <kwinglplatform.h>
#include <kwinglutils.h>
#include <KGlobalAccel>
#include <KLocalizedString>
......
......@@ -15,7 +15,6 @@
#include <QDataStream>
#include <QTemporaryFile>
#include <QDir>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
#include <QDBusReply>
#include <QVarLengthArray>
......
......@@ -17,7 +17,6 @@
// KDE
#include <KConfigGroup>
#include <KSharedConfig>
#include <KStartupInfo>
#include <KSelectionOwner>
#include <KWindowSystem>
// KWin
......
......@@ -18,7 +18,6 @@
#include <KWaylandServer/display.h>
#include <KWaylandServer/seat_interface.h>
#include <KWaylandServer/textinput_v2_interface.h>
#include <KWaylandServer/textinput_v3_interface.h>
#include <KWaylandServer/surface_interface.h>
#include <KWaylandServer/inputmethod_v1_interface.h>
......
......@@ -6,7 +6,6 @@
*/
#include "rulesmodel.h"
#include <rules.h>
#include <QFileInfo>
#include <QIcon>
......
......@@ -10,7 +10,6 @@
#include "kwineffectquickview.h"
#include "kwinglutils.h"
#include "kwineffects.h"
#include "logging_p.h"
#include <QQmlEngine>
......@@ -19,7 +18,6 @@
#include <QQmlComponent>
#include <QQuickView>
#include <QQuickRenderControl>
#include <QUrl>
#include <QOffscreenSurface>
#include <QOpenGLContext>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment