Commit a5063549 authored by Laurent Montel's avatar Laurent Montel 😁

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

parent 275fc126
Pipeline #38432 passed with stage
in 40 minutes and 50 seconds
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "util/mailutil.h" #include "util/mailutil.h"
#include "mailcommon_debug.h" #include "mailcommon_debug.h"
#include <AkonadiCore/Collection>
#include <AkonadiCore/CollectionModifyJob> #include <AkonadiCore/CollectionModifyJob>
using namespace MailCommon; using namespace MailCommon;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "filter/filtermanager.h" #include "filter/filtermanager.h"
#include "filter/dialog/filteractionmissingtagdialog.h" #include "filter/dialog/filteractionmissingtagdialog.h"
#include <QPointer>
#include <QComboBox> #include <QComboBox>
#include <AkonadiCore/Tag> #include <AkonadiCore/Tag>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
*/ */
#include "filteractionstatus.h" #include "filteractionstatus.h"
#include <Akonadi/KMime/MessageStatus>
#include <KLocalizedString> #include <KLocalizedString>
using namespace MailCommon; using namespace MailCommon;
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <QPushButton> #include <QPushButton>
#include <QIcon> #include <QIcon>
#include <QComboBox> #include <QComboBox>
#include <QVector>
#include <QGridLayout> #include <QGridLayout>
#include <QLabel> #include <QLabel>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "filterimporterpathcache.h" #include "filterimporterpathcache.h"
#include "filteractions/filteractiondict.h" #include "filteractions/filteractiondict.h"
#include "filteractions/filteractionwidget.h" #include "filteractions/filteractionwidget.h"
#include "filterimporterexporter.h"
#include "filterselectiondialog.h" #include "filterselectiondialog.h"
#include "kmfilteraccountlist.h" #include "kmfilteraccountlist.h"
using MailCommon::FilterImporterExporter; using MailCommon::FilterImporterExporter;
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
*/ */
#include "filterimporterexportergui.h" #include "filterimporterexportergui.h"
#include "filter/filterimporterexporter.h"
#include "filter/mailfilter.h" #include "filter/mailfilter.h"
#include <QApplication> #include <QApplication>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "foldertreewidgetproxymodel.h" #include "foldertreewidgetproxymodel.h"
#include "kernel/mailkernel.h" #include "kernel/mailkernel.h"
#include <Collection>
#include <CollectionCreateJob> #include <CollectionCreateJob>
#include <EntityMimeTypeFilterModel> #include <EntityMimeTypeFilterModel>
#include <EntityTreeModel> #include <EntityTreeModel>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "foldertreewidget.h" #include "foldertreewidget.h"
#include "entitycollectionorderproxymodel.h" #include "entitycollectionorderproxymodel.h"
#include "foldertreeview.h" #include "foldertreeview.h"
#include "foldertreewidgetproxymodel.h"
#include "kernel/mailkernel.h" #include "kernel/mailkernel.h"
#include "util/mailutil.h" #include "util/mailutil.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <AgentInstance> #include <AgentInstance>
#include <AgentManager> #include <AgentManager>
#include <Collection>
#include <EntityTreeModel> #include <EntityTreeModel>
#include <MimeTypeChecker> #include <MimeTypeChecker>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "mailcommon_debug.h" #include "mailcommon_debug.h"
#include <MessageViewer/MessageViewerSettings> #include <MessageViewer/MessageViewerSettings>
#include "filter/mdnadvicedialog.h" #include "filter/mdnadvicedialog.h"
#include <MessageComposer/MessageFactoryNG>
#include <MessageComposer/Util> #include <MessageComposer/Util>
#include <AkonadiCore/ItemModifyJob> #include <AkonadiCore/ItemModifyJob>
#include <QPointer> #include <QPointer>
......
...@@ -21,7 +21,6 @@ using MailCommon::FilterLog; ...@@ -21,7 +21,6 @@ using MailCommon::FilterLog;
#include <KMime/KMimeMessage> #include <KMime/KMimeMessage>
#include <KConfigGroup> #include <KConfigGroup>
#include <KLocalizedString>
#include <QDataStream> #include <QDataStream>
......
...@@ -17,7 +17,6 @@ using MailCommon::RuleWidgetHandlerManager; ...@@ -17,7 +17,6 @@ using MailCommon::RuleWidgetHandlerManager;
#include <QIcon> #include <QIcon>
#include <KComboBox> #include <KComboBox>
#include <QButtonGroup> #include <QButtonGroup>
#include <QByteArray>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QRadioButton> #include <QRadioButton>
#include <QStackedWidget> #include <QStackedWidget>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <QObject> #include <QObject>
#include <QStackedWidget> #include <QStackedWidget>
#include "search/searchpattern.h"
#include <algorithm> #include <algorithm>
using std::for_each; using std::for_each;
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <MessageComposer/ConvertSnippetVariableMenu> #include <MessageComposer/ConvertSnippetVariableMenu>
#include <KPIMTextEdit/PlainTextEditor> #include <KPIMTextEdit/PlainTextEditor>
#include <KActionCollection> #include <KActionCollection>
#include <QDialog>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QPushButton> #include <QPushButton>
#include <QDialogButtonBox> #include <QDialogButtonBox>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "snippetselectattachmentwidget.h" #include "snippetselectattachmentwidget.h"
#include "snippetcustomfileattachmentnamedialog.h" #include "snippetcustomfileattachmentnamedialog.h"
#include <PimCommon/SimpleStringListEditor>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QFileDialog> #include <QFileDialog>
#include <KLocalizedString> #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