Commit 0370a917 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 301c85b7
Pipeline #38447 passed with stage
in 16 minutes and 54 seconds
......@@ -19,7 +19,6 @@
#include "lib/timespinbox.h"
#include "lib/timezonecombo.h"
#include <KAlarmCal/DateTime>
#include <KDateComboBox>
#include <KLocalizedString>
......
......@@ -21,7 +21,6 @@
#include <KAlarmCal/Identities>
#include <KAlarmCal/KARecurrence>
#include <KCalendarCore/Duration>
using namespace KCalendarCore;
#include <stdlib.h>
......
......@@ -16,7 +16,6 @@
#include "lib/messagebox.h"
#include "kalarm_debug.h"
#include <KAlarmCal/DateTime>
#include <KAlarmCal/KAEvent>
#include <KLocalizedString>
......
......@@ -18,7 +18,6 @@
#include "mainwindow.h"
#include "messagewindow.h"
#include "pickfileradio.h"
#include "preferences.h"
#include "reminder.h"
#include "soundpicker.h"
#include "sounddlg.h"
......
......@@ -10,7 +10,6 @@
#include "eventid.h"
#include "resources/resources.h"
#include "kalarm_debug.h"
#include <QRegularExpression>
......
......@@ -11,7 +11,6 @@
#include "fontcolour.h"
#include "preferences.h"
#include "lib/autoqpointer.h"
#include "lib/pushbutton.h"
#include "kalarm_debug.h"
#include <KLocalizedString>
......
......@@ -11,7 +11,6 @@
#include "akonadicollectionsearch.h"
#include "displaycalendar.h"
#include "editdlg.h"
#include "kalarmapp.h"
#include "kamail.h"
#include "mainwindow.h"
......@@ -33,7 +32,6 @@
#include <kalarmcal_version.h>
#include <KAlarmCal/Identities>
#include <KAlarmCal/KAEvent>
#include <KCalendarCore/Event>
#include <KCalendarCore/ICalFormat>
......
......@@ -14,12 +14,10 @@
#include "displaycalendar.h"
#include "editdlgtypes.h"
#include "functions.h"
#include "kamail.h"
#include "mainwindow.h"
#include "messagewindow.h"
#include "messagenotification.h"
#include "migratekde4files.h"
#include "preferences.h"
#include "prefdlg.h"
#include "resourcescalendar.h"
#include "startdaytimer.h"
......
......@@ -25,7 +25,6 @@
#include <MailTransport/TransportManager>
#include <MailTransport/Transport>
#include <MailTransportAkonadi/MessageQueueJob>
#include <KCalendarCore/Person>
#include <KMime/HeaderParsing>
#include <KMime/Headers>
#include <KMime/Message>
......
......@@ -16,7 +16,6 @@
#include <QGraphicsPixmapItem>
#include <QPainter>
#include <QTimer>
#include <QFrame>
#include <QBrush>
#include <QApplication>
#include <QPixmap>
......
......@@ -12,7 +12,6 @@
#include <QTimer>
#include <QDateTime>
#include <QTime>
/*=============================================================================
= Class: SynchTimer
......
......@@ -34,7 +34,6 @@
#include "kalarm_debug.h"
#include <KAlarmCal/AlarmText>
#include <KAlarmCal/KAEvent>
#include <AkonadiCore/Item>
#include <KCalendarCore/MemoryCalendar>
......
......@@ -6,7 +6,6 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "messagedisplayhelper.h"
#include "messagewindow.h"
#include "messagenotification.h"
......
......@@ -16,7 +16,6 @@
#include "lib/shellprocess.h"
#include "kalarm_debug.h"
#include <KActionMenu>
#include <KActionCollection>
#include <KGlobalAccel>
#include <KLocalizedString>
......
......@@ -19,7 +19,6 @@
#include <KLocalizedString>
#include <KIO/StatJob>
#include <QUrl>
#include <QTimer>
using namespace KAlarmCal;
......
......@@ -20,7 +20,6 @@
#include "kalarm_debug.h"
#include <KAlarmCal/CollectionAttribute>
#include <KAlarmCal/KACalendar>
#include <KAlarmCal/Version>
#include <AkonadiCore/AgentManager>
......
......@@ -10,7 +10,6 @@
#include "resources.h"
#include "preferences.h"
#include "lib/desktop.h"
#include "lib/messagebox.h"
#include "kalarm_debug.h"
......
......@@ -8,9 +8,7 @@
#include "resources.h"
#include "resource.h"
#include "resourcedatamodelbase.h"
#include "resourcemodel.h"
#include "resourceselectdialog.h"
#include "preferences.h"
......
......@@ -13,7 +13,6 @@
#include <KLocalizedString>
#include <KIO/Job>
#include <QUrl>
#include <QTimer>
using namespace KAlarmCal;
......
......@@ -23,7 +23,6 @@
#include <QVBoxLayout>
#include <QResizeEvent>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QLineEdit>
......
......@@ -8,7 +8,6 @@
#include "templatedlg.h"
#include "editdlg.h"
#include "functions.h"
#include "newalarmaction.h"
#include "resourcescalendar.h"
......
......@@ -14,7 +14,6 @@
#include <KAlarmCal/KAEvent>
#include <KActionMenu>
#include <QMenu>
......
......@@ -15,7 +15,6 @@
#include "kalarm_debug.h"
#include <KAlarmCal/AlarmText>
#include <KAlarmCal/KAEvent>
#include <KLocalizedString>
......
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