Commit d730af80 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 b0370bc5
Pipeline #38475 passed with stage
in 57 minutes and 50 seconds
......@@ -5,7 +5,6 @@
*/
#include "mergecontactwidgettest.h"
#include <AkonadiCore/Item>
#include <AkonadiCore/EntityTreeModel>
#include "../manualmerge/mergecontactwidget.h"
......
......@@ -9,7 +9,6 @@
#include <AkonadiCore/ItemCreateJob>
#include <AkonadiCore/ItemDeleteJob>
#include <KContacts/Address>
#include <KContacts/Addressee>
#include "kaddressbookmergelibprivate_debug.h"
......
......@@ -11,7 +11,6 @@
#include "widgets/mergecontacterrorlabel.h"
#include "widgets/mergecontactselectinformationscrollarea.h"
#include <AkonadiCore/Item>
#include <KConfigGroup>
#include <KSharedConfig>
......
......@@ -7,7 +7,6 @@
#include "searchduplicateresultwidget.h"
#include "widgets/mergecontactloseinformationwarning.h"
#include "job/mergecontactsjob.h"
#include "job/mergecontacts.h"
#include "resultduplicatetreewidget.h"
#include <KLocalizedString>
......
......@@ -7,7 +7,6 @@
#include <Akonadi/Contact/GrantleeContactViewer>
#include <AkonadiCore/Item>
#include <QHBoxLayout>
#include <QStackedWidget>
......
......@@ -6,7 +6,6 @@
#include "sendvcardsjob.h"
#include <AkonadiCore/Item>
#include <AkonadiCore/ItemFetchJob>
#include <AkonadiCore/ItemFetchScope>
#include <Akonadi/Contact/ContactGroupExpandJob>
......
......@@ -18,7 +18,6 @@
#include <KActionCollection>
#include <KSharedConfig>
#include <KConfigGroup>
#include <QPointer>
#include <QLabel>
#include <QMenu>
......
......@@ -7,7 +7,6 @@
#include "grammalecteparser.h"
#include "libgrammalecte_debug.h"
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonValue>
GrammalecteParser::GrammalecteParser()
......
......@@ -7,7 +7,6 @@
#include "grammarerror.h"
#include "grammarcommon_debug.h"
#include <QJsonObject>
GrammarError::GrammarError()
{
......
......@@ -9,7 +9,6 @@
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
LanguageToolGetListOfLanguageJob::LanguageToolGetListOfLanguageJob(QObject *parent)
: QObject(parent)
......
......@@ -14,7 +14,6 @@
#include <KLocalizedString>
#include <KShell>
#include <QProcess>
#include <QBuffer>
using namespace MailTransport;
......
......@@ -10,7 +10,6 @@
#include <KEmailAddress>
#include <KLocalizedString>
#include <QPushButton>
#include <KGuiItem>
#include <KStandardGuiItem>
#include <QDialogButtonBox>
......
......@@ -26,7 +26,6 @@
#include <KIdentityManagement/IdentityManager>
#include <KIdentityManagement/Identity>
#include <KMime/Message>
#include <KMime/Util>
#include <AkonadiCore/ItemDeleteJob>
......
......@@ -6,7 +6,6 @@
#include "dkimconfigurewidget.h"
#include "dkimconfiguretab.h"
#include <QWidget>
#include <QVBoxLayout>
DKIMConfigureWidget::DKIMConfigureWidget(QWidget *parent)
......
......@@ -10,7 +10,6 @@
#include <QStandardPaths>
#include <QProcess>
#include <QRegularExpression>
#include <KMime/Message>
#include <MessageViewer/HeaderStyle>
void testHeaderFile(const QString &data, const QString &name, const QString &dir)
......
......@@ -9,7 +9,6 @@
*/
#include "briefheaderstyle.h"
#include <MessageViewer/HeaderStyle>
#include <MessageViewer/HeaderStyle_Util>
#include <MessageViewer/MessageViewerSettings>
#include <MessageViewer/HeaderStrategy>
......
......@@ -6,7 +6,6 @@
#include "fancyheaderstyle.h"
#include "messageviewer_debug.h"
#include <MessageViewer/HeaderStyle>
#include <MessageViewer/HeaderStyle_Util>
#include <MessageViewer/HeaderStrategy>
......
......@@ -9,7 +9,6 @@
#include <KTimeComboBox>
#include <QHBoxLayout>
#include <QDateTime>
using namespace MessageViewer;
......
......@@ -19,7 +19,6 @@
#include <KSharedConfig>
#include <KCoreConfigSkeleton>
#include <EventViews/Prefs>
using namespace std::placeholders;
......
......@@ -14,7 +14,6 @@
#include <QAction>
#include <QPointer>
#include <QWebEngineView>
#include <WebEngineViewer/WebHitTestResult>
AdblockInterceptorInterface::AdblockInterceptorInterface(QObject *parent)
: WebEngineViewer::NetworkPluginUrlInterceptorInterface(parent)
......
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