Commit 457fd4d2 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 29cd276f
......@@ -37,7 +37,6 @@
#include "wheelinterceptor.h"
#include "windowsystem.h"
#include <QQmlEngine>
void KickerPlugin::registerTypes(const char *uri)
{
......
......@@ -22,7 +22,6 @@
#include "actionlist.h"
#include "debug.h"
#include <QTimer>
PlaceholderModel::PlaceholderModel(QObject *parent)
: AbstractModel(parent)
......
......@@ -20,7 +20,6 @@
#include "windowsystem.h"
#include <QQuickItem>
#include <QQuickWindow>
#include <KWindowSystem>
......
......@@ -29,7 +29,6 @@
#include <QApplication>
#include <QDBusMessage>
#include <QDBusObjectPath>
#include <QDBusServiceWatcher>
static const char* DBUS_SERVICE = "org.kde.kappmenu";
......
......@@ -29,7 +29,6 @@
#include "dbusmenutypes_p.h"
#include <QDBusMessage>
#include <QDBusObjectPath>
#include <QDBusServiceWatcher>
#include <KWindowSystem>
......
......@@ -28,7 +28,6 @@
#include <QCoreApplication>
#include <QKeyEvent>
#include <QEvent>
#include <QMenu>
#include <QMouseEvent>
VerticalMenu::VerticalMenu(QWidget* parent) : QMenu(parent)
......
......@@ -19,7 +19,6 @@
*/
#include "abstractlayoutmanager.h"
#include "appletslayout.h"
#include "itemcontainer.h"
#include <cmath>
......
......@@ -19,7 +19,6 @@
#include "containmentlayoutmanagerplugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include <QQuickItem>
......
......@@ -44,7 +44,6 @@
#include <KPackage/PackageLoader>
#include "kcategorizeditemsviewmodels_p.h"
#include "plasmaappletitemmodel_p.h"
#include "openwidgetassistant_p.h"
#include "config-workspace.h"
......
......@@ -19,7 +19,6 @@
#include "activityengine.h"
#include "activityservice.h"
#include "ActivityRankingInterface.h"
#include <kactivities/controller.h>
#include <kactivities/info.h>
......
......@@ -17,7 +17,6 @@
*/
#include "jobaction.h"
#include "kuiserverengine.h"
#include <kio/global.h>
#include <klocalizedstring.h>
......
......@@ -25,10 +25,8 @@
#include <KFormat>
#include <KLocalizedString>
#include <Plasma/DataEngine>
#include "notifications.h"
#include "jobsmodel.h"
#include <algorithm>
......
......@@ -18,7 +18,6 @@
#include "executable.h"
#include <QDebug>
#include <KProcess>
ExecutableContainer::ExecutableContainer(const QString& command, QObject* parent)
: Plasma::DataContainer(parent), m_process(nullptr)
{
......
......@@ -18,7 +18,6 @@
*/
#include "hotplugjob.h"
#include "hotplugengine.h"
#include "deviceserviceaction.h"
......
......@@ -20,7 +20,6 @@
#include "keystate.h"
#include <klocalizedstring.h>
#include <kmodifierkeyinfo.h>
#include "keyservice.h"
KeyStatesEngine::KeyStatesEngine(QObject *parent, const QVariantList &args)
......
......@@ -20,7 +20,6 @@
#include "multiplexedservice.h"
#include "multiplexer.h"
#include "playercontrol.h"
#include <mprisplayer.h>
#include <KLocalizedString>
......
......@@ -20,7 +20,6 @@
#include "playercontrol.h"
#include "playeractionjob.h"
#include "playercontainer.h"
#include <dbusproperties.h>
#include <mprisplayer.h>
......
......@@ -17,7 +17,6 @@
*/
#include "notificationaction.h"
#include "notificationsengine.h"
#include "server.h"
......
......@@ -25,7 +25,6 @@
#include <solid/devicenotifier.h>
#include <solid/device.h>
#include <solid/deviceinterface.h>
#include <solid/battery.h>
#include <solid/powermanagement.h>
#include <klocalizedstring.h>
......
......@@ -27,7 +27,6 @@
#include <QApplication>
#include <QDebug>
#include <KFormat>
#include <KIO/FileSystemFreeSpaceJob>
#include <KNotification>
#include <Plasma/DataContainer>
......
Markdown is supported
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