Commit 6c59c13b authored by Laurent Montel's avatar Laurent Montel 😁

Fix includes

parent fd715d8b
......@@ -35,7 +35,6 @@
#include <QObject>
#include <QSignalSpy>
#include <QEventLoop>
#include <qtest_akonadi.h>
#include <resourceselectjob_p.h>
......
......@@ -21,7 +21,6 @@
#include "itemfetchjob.h"
#include "collectionfetchjob.h"
#include <QPointer>
#include <QTimer>
FakeServerData::FakeServerData(EntityTreeModel *model, FakeSession *session, FakeMonitor *monitor, QObject *parent)
......
......@@ -21,8 +21,6 @@
#include "private/imapparser_p.h"
#include <qtest.h>
#include <QDebug>
#include <QVariant>
#include <QBuffer>
Q_DECLARE_METATYPE(QList<QByteArray>)
......
......@@ -26,7 +26,6 @@
#include "krandom.h"
#include <QMimeDatabase>
#include <QMimeType>
#include <qtest.h>
......
......@@ -17,7 +17,6 @@
02110-1301, USA.
*/
#include <QMetaType>
#include <QObject>
#include <qtest_akonadi.h>
......
......@@ -33,7 +33,6 @@
#include <itemfetchscope.h>
#include <QObject>
#include <QSignalSpy>
#include <qtest_akonadi.h>
......
......@@ -22,7 +22,6 @@
#include <qtest_akonadi.h>
#include <servermanager.h>
#include <QDir>
#include <QObject>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
......
......@@ -26,7 +26,6 @@
#include "xmlreader.h"
#include <searchquery.h>
#include <QUrl>
#include <agentfactory.h>
#include <changerecorder.h>
#include <collection.h>
......@@ -43,7 +42,6 @@
#include <QDir>
#include <QUuid>
#include <QStandardPaths>
#include <QDebug>
#include <QFileDialog>
using namespace Akonadi;
......
......@@ -29,7 +29,6 @@
#include <signal.h>
#include <QApplication>
#include <QCommandLineParser>
#include <QCommandLineOption>
static SetupTest *setup = nullptr;
static TestRunner *runner = nullptr;
......
......@@ -31,7 +31,6 @@
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QTimer>
#include <QDBusConnection>
#include <QSettings>
......
......@@ -20,8 +20,6 @@
#include <QDebug>
#include <KProcess>
#include <QCoreApplication>
#include <QTimer>
TestRunner::TestRunner(const QStringList &args, QObject *parent)
: QObject(parent)
......
......@@ -28,8 +28,6 @@
#include <session.h>
#include <transactionjobs.h>
#include <QVariant>
#include <QSignalSpy>
#include <qtest_akonadi.h>
using namespace Akonadi;
......
......@@ -22,7 +22,6 @@
#include <QObject>
#include <QTest>
#include <QDebug>
#define QL1S(x) QStringLiteral(x)
......
......@@ -32,7 +32,6 @@
#include <shared/aktest.h>
#include <QTest>
#include <QSignalSpy>
using namespace Akonadi;
using namespace Akonadi::Server;
......
......@@ -20,9 +20,7 @@
#include "dbinitializertest.h"
#include "unittestschema.h"
#include <QDebug>
#include <QVariant>
#include <QIODevice>
#define DBINITIALIZER_UNITTEST
#include "storage/dbinitializer.cpp"
......
......@@ -21,8 +21,7 @@
#define DBINITIALIZERTEST_H
#include <QObject>
#include <QTest>
class QIODevice;
class DbInitializerTest : public QObject
{
Q_OBJECT
......
......@@ -20,7 +20,6 @@
#ifndef AKONADI_SERVER_DBPOPULATOR_H
#define AKONADI_SERVER_DBPOPULATOR_H
#include <QSqlDatabase>
namespace Akonadi {
namespace Server {
......
......@@ -19,12 +19,9 @@
#include "dbupdatertest.h"
#include <QDebug>
#include <QVariant>
#include <QBuffer>
#include <QDir>
#include "storage/dbupdater.h"
#include <QTest>
using namespace Akonadi::Server;
......
......@@ -21,7 +21,6 @@
#define DBUPDATERTEST_H
#include <QObject>
#include <QTest>
class DbUpdaterTest : public QObject
{
......
......@@ -26,11 +26,9 @@
#include <QSettings>
#include <QCoreApplication>
#include <QSqlQuery>
#include <QDir>
#include <QFileInfo>
#include <QLocalServer>
#include <QTest>
#include <QBuffer>
#include <private/xdgbasedirs_p.h>
#include <private/protocol_p.h>
......
......@@ -23,9 +23,6 @@
#include "exception.h"
#include <QSignalSpy>
#include <QBuffer>
#include <QDataStream>
#include <QTest>
#include <QSharedPointer>
#include <type_traits>
......
......@@ -22,7 +22,6 @@
#include "fakedatastore.h"
#include "fakeakonadiserver.h"
#include <QBuffer>
using namespace Akonadi::Server;
......
......@@ -24,9 +24,7 @@
#include "akonadischema.h"
#include "storage/dbinitializer.h"
#include <QUuid>
#include <QThread>
#include <QFile>
using namespace Akonadi::Server;
......
......@@ -29,7 +29,6 @@
#include <private/imapset_p.h>
#include <QTest>
#include <QSignalSpy>
using namespace Akonadi;
using namespace Akonadi::Server;
......
......@@ -25,8 +25,6 @@
#include <QObject>
#include <QTest>
#include <QSignalSpy>
#include <QDebug>
using namespace Akonadi;
using namespace Akonadi::Server;
......
......@@ -23,7 +23,6 @@
#include <QObject>
#include <QTest>
#include <QDebug>
#include <QDir>
#define QL1S(x) QString::fromLatin1(x)
......
......@@ -34,7 +34,6 @@
#include <QTimer>
#include <QDBusInterface>
#include <QDBusConnectionInterface>
#include <QCoreApplication>
using namespace Akonadi;
......
......@@ -26,11 +26,7 @@
#include <type_traits>
#include <typeinfo>
#include <QGlobalStatic>
#include <QHash>
#include <QMap>
#include <QDateTime>
#include <QStack>
#include <cassert>
......
......@@ -24,13 +24,11 @@
#include "akonadiprivate_export.h"
#include <QFlags>
#include <QSharedPointer>
#include <QDebug>
#include <QDateTime>
#include <QByteArray>
#include <QVector>
#include <QDataStream>
#include "tristate_p.h"
#include "scope_p.h"
......
......@@ -22,7 +22,6 @@
#include <QTextStream>
#include <QFile>
#include <QVector>
class Node;
class DocumentNode;
......
......@@ -25,8 +25,8 @@
#include <QSharedDataPointer>
#include <QMap>
#include <QMetaType>
#include <QDebug>
#include <QSharedPointer>
#include <QSet>
namespace {
class Dummy;
......
......@@ -21,8 +21,6 @@
#include "nodetree.h"
#include <QFile>
#include <QDebug>
#include <QXmlStreamAttribute>
#include <iostream>
......
......@@ -21,7 +21,6 @@
#define XMLPARSER_H
#include <QXmlStreamReader>
#include <QStack>
class Node;
class DocumentNode;
......
......@@ -25,7 +25,6 @@
#include <private/tristate_p.h>
#include <QDateTime>
#include <QCoreApplication>
#include <QTimer>
namespace Akonadi
......
......@@ -21,7 +21,6 @@
#define AKONADI_FILETRACER_H
#include "tracerinterface.h"
#include <QObject>
class QFile;
namespace Akonadi
......
......@@ -25,7 +25,6 @@
#include <private/scope_p.h>
#include <QAtomicInt>
#include <QStack>
#include <map>
......
......@@ -25,7 +25,6 @@
#include <QSqlError>
#include <QDBusConnection>
#include <QDBusMetaType>
Akonadi::Server::StorageDebugger *Akonadi::Server::StorageDebugger::mSelf = nullptr;
QMutex Akonadi::Server::StorageDebugger::mMutex;
......
......@@ -30,15 +30,10 @@
#include <QDBusInterface>
#include <QDBusConnectionInterface>
#include <QDialog>
#include <QPushButton>
#include <KLocalizedString>
#include <QGroupBox>
#include <QLabel>
#include <QFormLayout>
#include <QCheckBox>
#include <KFormat>
#include <KConfigGroup>
using namespace Akonadi;
......
......@@ -23,8 +23,7 @@
#include "itemmodel.h"
#include <KXMLGUIFactory>
#include <KXmlGuiWindow>
#include <KXMLGUIClient>
#include <QContextMenuEvent>
#include <QHeaderView>
#include <QMenu>
......
......@@ -24,7 +24,7 @@
#include <QLineEdit>
#include <QMessageBox>
#include <kcheckableproxymodel.h>
#include <QListView>
#include "changerecorder.h"
#include "tagcreatejob.h"
#include "tagdeletejob.h"
......@@ -35,7 +35,6 @@
#include <QEvent>
#include <QHBoxLayout>
#include <QLabel>
#include <QListWidget>
#include <QPushButton>
#include <QTimer>
#include <QVBoxLayout>
......
......@@ -21,7 +21,6 @@
#include "itemserializerplugin.h"
#include <QDebug>
#include <QFile>
#include <QStringList>
#include <QApplication>
......
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