Commit 44ca2fc9 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 83e77b84
Pipeline #38473 failed with stage
in 27 minutes and 12 seconds
......@@ -17,8 +17,6 @@
#include "itemfetchscope.h"
#include "itemmodifyjob.h"
#include "qtest_akonadi.h"
#include "itemserializer_p.h"
#include "itemserializerplugin.h"
using namespace Akonadi;
......
......@@ -6,7 +6,6 @@
#include "inspectablechangerecorder.h"
#include "changerecorder_p.h"
InspectableChangeRecorderPrivate::InspectableChangeRecorderPrivate(FakeMonitorDependenciesFactory *dependenciesFactory, InspectableChangeRecorder *parent)
: ChangeRecorderPrivate(dependenciesFactory, parent)
......
......@@ -7,17 +7,13 @@
#include "knutresource.h"
#include "knutresource_debug.h"
#include "settings.h"
#include "settingsadaptor.h"
#include "xmlwriter.h"
#include "xmlreader.h"
#include <searchquery.h>
#include <agentfactory.h>
#include <changerecorder.h>
#include <collection.h>
#include <QDBusConnection>
#include <item.h>
#include <itemfetchscope.h>
#include <tagcreatejob.h>
......
......@@ -7,7 +7,6 @@
#include "testsearchplugin.h"
#include <QDebug>
#include <QStringList>
#include "searchquery.h"
QSet<qint64> TestSearchPlugin::search(const QString &query, const QVector<qint64> &collections, const QStringList &mimeTypes)
......
......@@ -28,7 +28,6 @@
#include <QStandardPaths>
#include <ctime>
#include <private/protocol_p.h>
#include <private/scope_p.h>
#include <private/standarddirs_p.h>
#include <shared/akapplication.h>
......
......@@ -6,7 +6,6 @@
*/
#include "fakeclient.h"
#include "fakeakonadiserver.h"
#include <private/protocol_exception_p.h>
#include <private/protocol_p.h>
......
......@@ -27,15 +27,12 @@
#include "akonadiagentbase_debug.h"
#include <KLocalizedString>
#include <KSharedConfig>
#include <Kdelibs4ConfigMigrator>
#include <KAboutData>
#include <QSettings>
#include <QTimer>
#include <QDBusConnection>
#include <QApplication>
#include <QCommandLineParser>
#include <QNetworkConfiguration>
#include <QNetworkConfigurationManager>
......
......@@ -5,7 +5,6 @@
*/
#include "preprocessorbase_p.h"
#include "preprocessorbase.h"
#include <QDBusConnection>
#include "preprocessoradaptor.h"
......
......@@ -13,7 +13,6 @@
#include "collectiondeletejob.h"
#include "collectionsync_p.h"
#include <QDBusConnection>
#include "itemsync.h"
#include "akonadifull-version.h"
#include "tagsync.h"
#include "relationsync.h"
......
......@@ -6,7 +6,6 @@
#include "agentthreadinstance.h"
#include "agentserverinterface.h"
#include "agenttype.h"
#include "akonadicontrol_debug.h"
#include <private/dbus_p.h>
......
......@@ -7,7 +7,6 @@
#include "processcontrol.h"
#include "akonadicontrol_debug.h"
#include <chrono>
#include <shared/akapplication.h>
#include <private/instance_p.h>
......
......@@ -16,7 +16,6 @@
#include <QProcess>
#include <QTimer>
#include <QDBusConnection>
#include <QDBusServiceWatcher>
#include <iostream>
......
......@@ -12,7 +12,6 @@
#include <QFile>
#include <QSocketNotifier>
#include <QSettings>
#include <QLocalSocket>
#include <iostream>
#include <fcntl.h>
......
......@@ -10,7 +10,6 @@
#include <KAboutData>
#include <QDialogButtonBox>
#include <QSize>
namespace Akonadi {
......
......@@ -8,7 +8,6 @@
#include "private/imapparser_p.h"
#include <QIcon>
using namespace Akonadi;
......
......@@ -14,7 +14,6 @@
#include "entitydisplayattribute.h"
#include <QDebug>
#include <QHash>
#include <QString>
#include <QStringList>
......
......@@ -6,7 +6,6 @@
*/
#include "itemserializerplugin.h"
#include "item.h"
#include "itemserializer_p.h"
#include <QBuffer>
......
......@@ -10,7 +10,6 @@
#include "job_p.h"
#include "collection.h"
#include "item.h"
#include "item_p.h"
#include "itemcreatejob.h"
#include "itemdeletejob.h"
......
......@@ -7,7 +7,6 @@
#include "itemdeletejob.h"
#include "collection.h"
#include "item.h"
#include "job_p.h"
#include "protocolhelper_p.h"
#include "private/protocol_p.h"
......
......@@ -7,7 +7,6 @@
#include "itemmovejob.h"
#include "collection.h"
#include "item.h"
#include "job_p.h"
#include "protocolhelper_p.h"
#include "private/protocol_p.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