Commit 7a3cfeb2 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 30b3ef95
Pipeline #38449 passed with stage
in 29 minutes and 1 second
......@@ -8,7 +8,6 @@
#include "widgets/formatcombobox.h"
#include "widgets/unitcombobox.h"
#include <MailCommon/FolderRequester>
#include <Collection>
#include <KLocalizedString>
#include <KUrlRequester>
......
......@@ -14,7 +14,6 @@
#include <MailCommon/MailUtil>
#include <KConfigGroup>
#include <KSharedConfig>
#include "archivemailagent_debug.h"
#include <QDate>
......
......@@ -9,8 +9,6 @@
#include "../followupreminderinfo.h"
#include <QTest>
#include <KSharedConfig>
#include <QRegularExpression>
FollowUpReminderConfigTest::FollowUpReminderConfigTest(QObject *parent)
: QObject(parent)
......
......@@ -16,7 +16,6 @@
#include <KConfigGroup>
#include <KConfig>
#include <KSharedConfig>
#include <KNotification>
#include <KLocalizedString>
#include <QRegularExpression>
......
......@@ -8,7 +8,6 @@
#include "followupreminderinfo.h"
#include "followupreminderagent_debug.h"
#include <AkonadiCore/Item>
#include <AkonadiCore/ItemFetchJob>
#include <AkonadiCore/ItemModifyJob>
#include <KCalendarCore/Todo>
......
......@@ -8,7 +8,6 @@
#include "filterlogdialog.h"
#include <MailCommon/FilterLog>
#include <KPIMTextEdit/PlainTextEditorWidget>
#include <KPIMTextEdit/PlainTextEditor>
#include "mailfilterpurposemenuwidget.h"
#include "mailfilteragent_debug.h"
......
......@@ -29,7 +29,6 @@
#include <Kdelibs4ConfigMigrator>
#include <QPointer>
#include <sendlaterinfo.h>
//#define DEBUG_SENDLATERAGENT 1
......
......@@ -11,7 +11,6 @@
#include <MessageComposer/SendLaterInfo>
#include <MessageComposer/SendLaterDialog>
#include <KConfigGroup>
#include <KLocalizedString>
#include <QMenu>
#include <KMessageBox>
......
......@@ -12,7 +12,6 @@
#include <MessageComposer/SendLaterInfo>
#include <MessageComposer/Util>
#include <KSharedConfig>
#include <KConfigGroup>
#include <KMessageBox>
#include <KLocalizedString>
......
......@@ -5,7 +5,6 @@
*/
#include "settingsdialog.h"
#include "unifiedmailboxmanager.h"
#include "unifiedmailboxeditor.h"
#include "unifiedmailbox.h"
#include "mailkernel.h"
......
......@@ -24,7 +24,6 @@
#include <AkonadiCore/LinkJob>
#include <AkonadiCore/UnlinkJob>
#include <AkonadiCore/ServerManager>
#include <Akonadi/KMime/SpecialMailCollections>
#include <KIdentityManagement/IdentityManager>
#include <KIdentityManagement/Identity>
......
......@@ -7,11 +7,9 @@
#include "unifiedmailboxmanager.h"
#include "unifiedmailbox.h"
#include "unifiedmailboxagent_debug.h"
#include "utils.h"
#include "common.h"
#include "settings.h"
#include <KSharedConfig>
#include <KLocalizedString>
#include <AkonadiCore/SpecialCollectionAttribute>
......
......@@ -8,7 +8,6 @@
#include <QHBoxLayout>
#include <KLocalizedString>
#include <KSharedConfig>
#include <KConfigGroup>
#include <QPushButton>
#include <QRegularExpression>
......
......@@ -22,7 +22,6 @@
#include <KTNEF/KTNEFProperty>
#include <KFileItemActions>
#include <KService>
#include <QAction>
#include <KActionCollection>
#include "ktnef_debug.h"
......
......@@ -11,8 +11,6 @@
#include <math.h>
#include <assert.h>
#include <QImage>
#include <QPainter>
#include <QPainterPath>
#include <QDataStream>
#include <QBuffer>
......
......@@ -7,7 +7,6 @@
#include "collectionviewpage.h"
#include <MailCommon/MailKernel>
#include <AkonadiCore/collection.h>
#include <AkonadiCore/entitydisplayattribute.h>
#include <Akonadi/KMime/MessageFolderAttribute>
......@@ -25,7 +24,6 @@
#include <MessageList/ThemeConfigButton>
#include <MailCommon/CollectionViewWidget>
#include <MailCommon/FolderSettings>
using namespace MailCommon;
......
......@@ -17,7 +17,6 @@
using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <MailTransport/TransportManagementWidget>
using MailTransport::TransportManagementWidget;
#include "ui_accountspagereceivingtab.h"
#include <MailCommon/MailUtil>
#include <AkonadiCore/agentfilterproxymodel.h>
......
......@@ -15,7 +15,6 @@ using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <Libkdepim/LineEditCatchReturnKey>
#include "messagelistsettings.h"
#include <MailCommon/TagWidget>
#include "MailCommon/Tag"
#include "kmkernel.h"
#include "util.h"
......
......@@ -19,7 +19,6 @@
#include <MessageComposer/PluginEditorGrammarManager>
#include <PimCommon/GenericPluginManager>
#include <AkonadiCore/ServerManager>
#include <PimCommon/PluginUtil>
#include <PimCommon/CustomToolsPlugin>
#include <KSharedConfig>
#include <KLocalizedString>
......
......@@ -21,7 +21,6 @@ using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <Libkleo/KeySelectionDialog>
#include <KLocalizedString>
#include <KCMultiDialog>
#include <KMessageBox>
#include "kmail_debug.h"
......
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