Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
457fd4d2
Commit
457fd4d2
authored
Oct 23, 2020
by
Laurent Montel
Browse files
If include is define in .h remove it if it's defined in .cpp too (scripted)
parent
29cd276f
Changes
82
Hide whitespace changes
Inline
Side-by-side
applets/kicker/plugin/kickerplugin.cpp
View file @
457fd4d2
...
...
@@ -37,7 +37,6 @@
#include
"wheelinterceptor.h"
#include
"windowsystem.h"
#include
<QQmlEngine>
void
KickerPlugin
::
registerTypes
(
const
char
*
uri
)
{
...
...
applets/kicker/plugin/placeholdermodel.cpp
View file @
457fd4d2
...
...
@@ -22,7 +22,6 @@
#include
"actionlist.h"
#include
"debug.h"
#include
<QTimer>
PlaceholderModel
::
PlaceholderModel
(
QObject
*
parent
)
:
AbstractModel
(
parent
)
...
...
applets/kicker/plugin/windowsystem.cpp
View file @
457fd4d2
...
...
@@ -20,7 +20,6 @@
#include
"windowsystem.h"
#include
<QQuickItem>
#include
<QQuickWindow>
#include
<KWindowSystem>
...
...
appmenu/appmenu_dbus.cpp
View file @
457fd4d2
...
...
@@ -29,7 +29,6 @@
#include
<QApplication>
#include
<QDBusMessage>
#include
<QDBusObjectPath>
#include
<QDBusServiceWatcher>
static
const
char
*
DBUS_SERVICE
=
"org.kde.kappmenu"
;
...
...
appmenu/menuimporter.cpp
View file @
457fd4d2
...
...
@@ -29,7 +29,6 @@
#include
"dbusmenutypes_p.h"
#include
<QDBusMessage>
#include
<QDBusObjectPath>
#include
<QDBusServiceWatcher>
#include
<KWindowSystem>
...
...
appmenu/verticalmenu.cpp
View file @
457fd4d2
...
...
@@ -28,7 +28,6 @@
#include
<QCoreApplication>
#include
<QKeyEvent>
#include
<QEvent>
#include
<QMenu>
#include
<QMouseEvent>
VerticalMenu
::
VerticalMenu
(
QWidget
*
parent
)
:
QMenu
(
parent
)
...
...
components/containmentlayoutmanager/abstractlayoutmanager.cpp
View file @
457fd4d2
...
...
@@ -19,7 +19,6 @@
*/
#include
"abstractlayoutmanager.h"
#include
"appletslayout.h"
#include
"itemcontainer.h"
#include
<cmath>
...
...
components/containmentlayoutmanager/containmentlayoutmanagerplugin.cpp
View file @
457fd4d2
...
...
@@ -19,7 +19,6 @@
#include
"containmentlayoutmanagerplugin.h"
#include
<QQmlEngine>
#include
<QQmlContext>
#include
<QQuickItem>
...
...
components/shellprivate/widgetexplorer/widgetexplorer.cpp
View file @
457fd4d2
...
...
@@ -44,7 +44,6 @@
#include
<KPackage/PackageLoader>
#include
"kcategorizeditemsviewmodels_p.h"
#include
"plasmaappletitemmodel_p.h"
#include
"openwidgetassistant_p.h"
#include
"config-workspace.h"
...
...
dataengines/activities/activityengine.cpp
View file @
457fd4d2
...
...
@@ -19,7 +19,6 @@
#include
"activityengine.h"
#include
"activityservice.h"
#include
"ActivityRankingInterface.h"
#include
<kactivities/controller.h>
#include
<kactivities/info.h>
...
...
dataengines/applicationjobs/jobaction.cpp
View file @
457fd4d2
...
...
@@ -17,7 +17,6 @@
*/
#include
"jobaction.h"
#include
"kuiserverengine.h"
#include
<kio/global.h>
#include
<klocalizedstring.h>
...
...
dataengines/applicationjobs/kuiserverengine.cpp
View file @
457fd4d2
...
...
@@ -25,10 +25,8 @@
#include
<KFormat>
#include
<KLocalizedString>
#include
<Plasma/DataEngine>
#include
"notifications.h"
#include
"jobsmodel.h"
#include
<algorithm>
...
...
dataengines/executable/executable.cpp
View file @
457fd4d2
...
...
@@ -18,7 +18,6 @@
#include
"executable.h"
#include
<QDebug>
#include
<KProcess>
ExecutableContainer
::
ExecutableContainer
(
const
QString
&
command
,
QObject
*
parent
)
:
Plasma
::
DataContainer
(
parent
),
m_process
(
nullptr
)
{
...
...
dataengines/hotplug/hotplugjob.cpp
View file @
457fd4d2
...
...
@@ -18,7 +18,6 @@
*/
#include
"hotplugjob.h"
#include
"hotplugengine.h"
#include
"deviceserviceaction.h"
...
...
dataengines/keystate/keystate.cpp
View file @
457fd4d2
...
...
@@ -20,7 +20,6 @@
#include
"keystate.h"
#include
<klocalizedstring.h>
#include
<kmodifierkeyinfo.h>
#include
"keyservice.h"
KeyStatesEngine
::
KeyStatesEngine
(
QObject
*
parent
,
const
QVariantList
&
args
)
...
...
dataengines/mpris2/multiplexedservice.cpp
View file @
457fd4d2
...
...
@@ -20,7 +20,6 @@
#include
"multiplexedservice.h"
#include
"multiplexer.h"
#include
"playercontrol.h"
#include
<mprisplayer.h>
#include
<KLocalizedString>
...
...
dataengines/mpris2/playercontrol.cpp
View file @
457fd4d2
...
...
@@ -20,7 +20,6 @@
#include
"playercontrol.h"
#include
"playeractionjob.h"
#include
"playercontainer.h"
#include
<dbusproperties.h>
#include
<mprisplayer.h>
...
...
dataengines/notifications/notificationaction.cpp
View file @
457fd4d2
...
...
@@ -17,7 +17,6 @@
*/
#include
"notificationaction.h"
#include
"notificationsengine.h"
#include
"server.h"
...
...
dataengines/powermanagement/powermanagementengine.cpp
View file @
457fd4d2
...
...
@@ -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>
...
...
dataengines/soliddevice/soliddeviceengine.cpp
View file @
457fd4d2
...
...
@@ -27,7 +27,6 @@
#include
<QApplication>
#include
<QDebug>
#include
<KFormat>
#include
<KIO/FileSystemFreeSpaceJob>
#include
<KNotification>
#include
<Plasma/DataContainer>
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment