aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-14 07:31:36 +0200
committerMontel Laurent <[email protected]>2017-09-14 07:31:36 +0200
commit35204de0f3ab135fc7fde6cc6850102e3ac044e1 (patch)
tree126a227bc2be4ebbe2badeef06f92e1b06e6d5f5
parentfe8af4d2007ad8bdb1c4437deffdc90528a62454 (diff)
Clean includes
-rw-r--r--agent/agent.cpp1
-rw-r--r--agent/agent.h2
-rw-r--r--agent/autotests/collectionindexingjobtest.cpp1
-rw-r--r--agent/calendarindexer.cpp1
-rw-r--r--agent/collectionupdatejob.h1
-rw-r--r--akonadiplugin/searchplugin.cpp1
-rw-r--r--core/query.cpp2
-rw-r--r--core/resultiterator.cpp1
-rw-r--r--core/searchstore.cpp1
-rw-r--r--debug/tests/akonadisearchdebug_dialog_gui.cpp2
-rw-r--r--runner/pimcontactsrunnerconfig.cpp3
-rw-r--r--search/email/agepostingsource.h1
-rw-r--r--search/pimsearchstore.cpp1
-rw-r--r--xapian/tests/writeiotest.cpp1
-rw-r--r--xapian/xapiandatabase.cpp1
-rw-r--r--xapian/xapiansearchstore.cpp2
16 files changed, 1 insertions, 21 deletions
diff --git a/agent/agent.cpp b/agent/agent.cpp
index 55e2780..9ec4922 100644
--- a/agent/agent.cpp
+++ b/agent/agent.cpp
@@ -47,7 +47,6 @@
#include <KLocalizedString>
#include "akonadi_indexer_agent_debug.h"
-#include <QFile>
#define INDEXING_AGENT_VERSION 5
diff --git a/agent/agent.h b/agent/agent.h
index d8982fa..e3997e8 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -27,8 +27,6 @@
#include <agentbase.h>
#include <collection.h>
-#include <QTimer>
-#include <QDateTime>
#include <QList>
#include "scheduler.h"
#include "index.h"
diff --git a/agent/autotests/collectionindexingjobtest.cpp b/agent/autotests/collectionindexingjobtest.cpp
index 6017af0..4efab5a 100644
--- a/agent/autotests/collectionindexingjobtest.cpp
+++ b/agent/autotests/collectionindexingjobtest.cpp
@@ -26,7 +26,6 @@
#include <AkonadiCore/ServerManager>
#include <AkonadiCore/CollectionFetchJob>
#include <AkonadiCore/qtest_akonadi.h>
-#include <KConfigGroup>
class TestIndex : public Index
{
diff --git a/agent/calendarindexer.cpp b/agent/calendarindexer.cpp
index c282e38..e4cc912 100644
--- a/agent/calendarindexer.cpp
+++ b/agent/calendarindexer.cpp
@@ -27,7 +27,6 @@
#include <KCalCore/Attendee>
#include <KCalCore/Event>
-#include <QTextDocument>
CalendarIndexer::CalendarIndexer(const QString &path)
: AbstractIndexer(), m_db(nullptr)
diff --git a/agent/collectionupdatejob.h b/agent/collectionupdatejob.h
index 54f9a18..fa3b236 100644
--- a/agent/collectionupdatejob.h
+++ b/agent/collectionupdatejob.h
@@ -24,7 +24,6 @@
#include <KJob>
#include <AkonadiCore/Item>
#include <AkonadiCore/Collection>
-#include <QTime>
#include "index.h"
/**
diff --git a/akonadiplugin/searchplugin.cpp b/akonadiplugin/searchplugin.cpp
index 2684edd..908c7f9 100644
--- a/akonadiplugin/searchplugin.cpp
+++ b/akonadiplugin/searchplugin.cpp
@@ -33,7 +33,6 @@
#include <KContacts/Addressee>
#include <KContacts/ContactGroup>
#include <QStringList>
-#include <QDateTime>
using namespace Akonadi::Search;
diff --git a/core/query.cpp b/core/query.cpp
index 01ab95f..6b70eae 100644
--- a/core/query.cpp
+++ b/core/query.cpp
@@ -27,10 +27,8 @@
#include <QString>
#include <QStringList>
#include <QSharedPointer>
-#include <QList>
#include <QUrlQuery>
#include <QVariant>
-#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
diff --git a/core/resultiterator.cpp b/core/resultiterator.cpp
index 5e6914e..32c3840 100644
--- a/core/resultiterator.cpp
+++ b/core/resultiterator.cpp
@@ -22,7 +22,6 @@
#include "resultiterator.h"
#include "searchstore.h"
-#include <QDebug>
using namespace Akonadi::Search;
diff --git a/core/searchstore.cpp b/core/searchstore.cpp
index 3d8320c..8c15a58 100644
--- a/core/searchstore.cpp
+++ b/core/searchstore.cpp
@@ -24,7 +24,6 @@
#include "akonadi_search_core_debug.h"
-#include <QDebug>
#include <QThreadStorage>
#include <QMutex>
#include <QSharedPointer>
diff --git a/debug/tests/akonadisearchdebug_dialog_gui.cpp b/debug/tests/akonadisearchdebug_dialog_gui.cpp
index 027d623..02da278 100644
--- a/debug/tests/akonadisearchdebug_dialog_gui.cpp
+++ b/debug/tests/akonadisearchdebug_dialog_gui.cpp
@@ -17,9 +17,7 @@
#include "../akonadisearchdebugdialog.h"
-#include <KLocalizedString>
#include <QApplication>
-#include <KAboutData>
#include <QCommandLineParser>
#include <QStandardPaths>
diff --git a/runner/pimcontactsrunnerconfig.cpp b/runner/pimcontactsrunnerconfig.cpp
index b103bc1..65dfd1c 100644
--- a/runner/pimcontactsrunnerconfig.cpp
+++ b/runner/pimcontactsrunnerconfig.cpp
@@ -19,9 +19,8 @@
#include "pimcontactsrunnerconfig.h"
-#include <QFormLayout>
#include <QCheckBox>
-
+#include <QVBoxLayout>
#include <KLocalizedString>
#include <KSharedConfig>
#include <KConfigGroup>
diff --git a/search/email/agepostingsource.h b/search/email/agepostingsource.h
index e883716..5ff095e 100644
--- a/search/email/agepostingsource.h
+++ b/search/email/agepostingsource.h
@@ -24,7 +24,6 @@
#define AKONADI_SEARCH_PIM_AGEPOSTINGSOURCE_H
#include <xapian.h>
-#include <QString>
namespace Akonadi
{
diff --git a/search/pimsearchstore.cpp b/search/pimsearchstore.cpp
index 7a7811e..88db002 100644
--- a/search/pimsearchstore.cpp
+++ b/search/pimsearchstore.cpp
@@ -24,7 +24,6 @@
#include "term.h"
#include "query.h"
-#include <QDebug>
#include <QUrl>
#include <QUrlQuery>
#include <QStandardPaths>
diff --git a/xapian/tests/writeiotest.cpp b/xapian/tests/writeiotest.cpp
index 2aed9cf..07b73e8 100644
--- a/xapian/tests/writeiotest.cpp
+++ b/xapian/tests/writeiotest.cpp
@@ -23,7 +23,6 @@
#include <QDebug>
#include <QTemporaryDir>
-#include <QTime>
#include <QUuid>
#include <QFileInfo>
#include <QDir>
diff --git a/xapian/xapiandatabase.cpp b/xapian/xapiandatabase.cpp
index 80c505c..288b12d 100644
--- a/xapian/xapiandatabase.cpp
+++ b/xapian/xapiandatabase.cpp
@@ -22,7 +22,6 @@
#include "xapiandocument.h"
#include "akonadi_search_xapian_debug.h"
-#include <QTimer>
#include <QDir>
#if defined(HAVE_MALLOC_H)
diff --git a/xapian/xapiansearchstore.cpp b/xapian/xapiansearchstore.cpp
index 5a7dba3..97eb77f 100644
--- a/xapian/xapiansearchstore.cpp
+++ b/xapian/xapiansearchstore.cpp
@@ -26,8 +26,6 @@
#include "query.h"
#include <QVector>
-#include <QStringList>
-#include <QTime>
#include "akonadi_search_xapian_debug.h"
#include <algorithm>