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

Clean not necessary includes

parent a79ddf7e
......@@ -28,12 +28,8 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
#include <QDebug>
#include <QtTest>
......
......@@ -27,13 +27,9 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
#include <QAbstractItemModelTester>
#include <QDebug>
#include <QtTest>
......
......@@ -28,7 +28,6 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
......
......@@ -20,7 +20,6 @@
#include "datatypes.h"
#include <QList>
#include <QUrl>
#include <QString>
#include <QDateTime>
......
......@@ -27,10 +27,7 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
#include <QAbstractItemModelTester>
#include <QDebug>
......
......@@ -25,7 +25,6 @@
#include <QDir>
#include <QFileInfo>
#include <QDebug>
#include <QtTest>
......
......@@ -21,10 +21,7 @@
#include <QObject>
#include <QList>
#include <QUrl>
#include <QDateTime>
#include <QTime>
#include <QDebug>
#include <QtTest>
......
......@@ -28,12 +28,10 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
#include <QDebug>
#include <QtTest>
#include <QTest>
......
......@@ -24,14 +24,8 @@
#include <QHash>
#include <QString>
#include <QUrl>
#include <QVector>
#include <QVariant>
#include <QList>
#include <QStringListModel>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QtTest>
......
......@@ -22,10 +22,7 @@
#include "databasetestdata.h"
#include <QList>
#include <QHash>
#include <QString>
#include <QUrl>
class ManageHeaderBarTest : public QObject, public DatabaseTestData
{
......
......@@ -26,8 +26,6 @@
#include <QString>
#include <QUrl>
#include <QVector>
#include <QVariant>
#include <QList>
#include <QStringListModel>
......
......@@ -22,10 +22,7 @@
#include "databasetestdata.h"
#include <QList>
#include <QHash>
#include <QString>
#include <QUrl>
class ManageMediaPlayerControlTest : public QObject, public DatabaseTestData
{
......
......@@ -25,8 +25,6 @@
#include "config-upnp-qt.h"
#include <QtTest>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QUrl>
#include <QTime>
#include <QTemporaryFile>
......
......@@ -22,9 +22,6 @@
#include <QObject>
#include <QHash>
#include <QVector>
#include <QUrl>
#include <QString>
class MediaPlayListTest : public QObject, public DatabaseTestData
{
......
......@@ -30,12 +30,8 @@
#include <QHash>
#include <QVector>
#include <QThread>
#include <QMetaObject>
#include <QStandardPaths>
#include <QDir>
#include <QFile>
#include <QDebug>
#include <QtTest>
......
......@@ -17,7 +17,6 @@
#include "viewmanager.h"
#include <QDebug>
#include <QtTest>
......
......@@ -19,7 +19,6 @@
#define ABSTRACTFILELISTENER_H
#include <QObject>
#include <QVector>
#include <QString>
#include "datatypes.h"
......
......@@ -33,7 +33,6 @@
#include <QPair>
#include <QAtomicInt>
#include <QtGlobal>
#include <algorithm>
#include <utility>
......
......@@ -25,7 +25,6 @@
#include <QString>
#include <QUrl>
#include <QHash>
#include <QVector>
#include <QDateTime>
#include <memory>
......
......@@ -29,7 +29,6 @@
#include <QAndroidJniObject>
#include <QAndroidJniEnvironment>
#include <QtAndroid>
#include <QDebug>
class AndroidMusicListenerPrivate
{
......
......@@ -22,7 +22,6 @@
#include "vlcLogging.h"
#include "powermanagementinterface.h"
#include <QTimer>
#include <QAudio>
#include <QDir>
......
......@@ -21,8 +21,6 @@
#include "../abstractfile/abstractfilelistener.h"
#include <QObject>
#include <QVector>
#include <QString>
#include <memory>
......
......@@ -37,21 +37,16 @@
#include <KFileMetaData/Properties>
#include <KFileMetaData/UserMetaData>
#include <KLocalizedString>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
#include <QDBusMessage>
#include <QDBusServiceWatcher>
#include <QThread>
#include <QHash>
#include <QFileInfo>
#include <QDir>
#include <QAtomicInt>
#include <QScopedPointer>
#include <QDebug>
#include <QGuiApplication>
#include <algorithm>
#include <memory>
......
......@@ -24,7 +24,6 @@
#include <QString>
#include <QUrl>
#include <QHash>
#include <QVector>
#include <memory>
......
......@@ -27,10 +27,8 @@
#include <QString>
#include <QHash>
#include <QList>
#include <QVariant>
#include <QUrl>
#include <QDateTime>
#include <QPair>
#include <memory>
#include <optional>
......
......@@ -23,7 +23,6 @@
#include <QCoreApplication>
#include <QCommandLineParser>
#include <QtGlobal>
#include <QStandardPaths>
int main(int argc, char *argv[])
......
......@@ -70,14 +70,12 @@
#include "mpris2/mediaplayer2player.h"
#endif
#include <QSortFilterProxyModel>
#include <QAction>
#include <QStandardPaths>
#include <QQmlExtensionPlugin>
#include <QQmlEngine>
#include <QQmlContext>
ElisaQmlTestPlugin::ElisaQmlTestPlugin(QObject *aParent)
: QQmlExtensionPlugin(aParent)
......
......@@ -23,7 +23,6 @@
#include <QList>
#include <QUrl>
#include <QString>
#include <QMetaObject>
#include <QMetaType>
namespace ElisaUtils {
......
......@@ -18,7 +18,6 @@
#include "embeddedcoverageimageprovider.h"
#include <KFileMetaData/EmbeddedImageData>
#include <QUrl>
#include <QImage>
class AsyncImageResponse : public QQuickImageResponse, public QRunnable
......
......@@ -21,8 +21,6 @@
#include "../abstractfile/abstractfilelistener.h"
#include <QObject>
#include <QVector>
#include <QString>
class FileListenerPrivate;
class LocalFileListing;
......
......@@ -21,12 +21,9 @@
#include <QThread>
#include <QHash>
#include <QFileInfo>
#include <QDir>
#include <QFileSystemWatcher>
#include <QStandardPaths>
#include <QDebug>
#include <algorithm>
......
......@@ -22,7 +22,6 @@
#include "../abstractfile/abstractfilelisting.h"
#include <QString>
#include <memory>
......
......@@ -38,7 +38,6 @@
#endif
#include <QLoggingCategory>
#include <QFileInfo>
#include <QLocale>
#include <QDir>
......
......@@ -21,7 +21,6 @@
#include "elisa_settings.h"
#include <KLocalizedString>
#include <QStandardPaths>
#include <QFileInfo>
......
......@@ -43,22 +43,17 @@
#include <KDBusService>
#endif
#include <QSortFilterProxyModel>
#include <QIcon>
#include <QApplication>
#include <QCommandLineParser>
#include <QtGlobal>
#include <QStandardPaths>
#include <QQmlApplicationEngine>
#include <QQmlEngine>
#include <QQmlFileSelector>
#include <QQmlDebuggingEnabler>
#include <QQmlContext>
#include <QQuickStyle>
#include <QScreen>
#include <QQmlContext>
#if defined Qt5AndroidExtras_FOUND && Qt5AndroidExtras_FOUND
#include <QAndroidService>
......
......@@ -18,7 +18,6 @@
#include "manageheaderbar.h"
#include <QTime>
#include <QTimer>
ManageHeaderBar::ManageHeaderBar(QObject *parent)
: QObject(parent)
......
......@@ -23,10 +23,7 @@
#include "elisautils.h"
#include <QObject>
#include <QList>
#include <QPersistentModelIndex>
#include <QAbstractItemModel>
#include <QModelIndex>
#include <QUrl>
class ELISALIB_EXPORT ManageHeaderBar : public QObject
......
......@@ -17,7 +17,6 @@
#include "managemediaplayercontrol.h"
#include <QDebug>
ManageMediaPlayerControl::ManageMediaPlayerControl(QObject *parent) : QObject(parent)
{
......
......@@ -19,9 +19,8 @@
#define MANAGEMEDIAPLAYERCONTROL_H
#include "elisaLib_export.h"
#include <QPersistentModelIndex>
#include <QObject>
#include <QModelIndex>
class QAbstractItemModel;
......
......@@ -24,7 +24,6 @@
#include "datatypes.h"
#include <QAbstractListModel>
#include <QVector>
#include <QMediaPlayer>
#include <utility>
......
......@@ -20,7 +20,7 @@
#include "datatypes.h"
#include <QReadLocker>
#include <QtConcurrentRun>
#include <QtConcurrent>
AllTracksProxyModel::AllTracksProxyModel(QObject *parent) : AbstractMediaProxyModel(parent)
{
......
......@@ -20,11 +20,6 @@
#include "modeldataloader.h"
#include "musiclistenersmanager.h"
#include <QUrl>
#include <QTimer>
#include <QPointer>
#include <QVector>
#include <QDebug>
#include <algorithm>
......
......@@ -24,7 +24,6 @@
#include "datatypes.h"
#include <QAbstractListModel>
#include <QVector>
#include <QHash>
#include <QString>
......
......@@ -19,7 +19,6 @@
#include <QUrl>
#include <QString>
#include <QDebug>
#include <QMimeDatabase>
#include <KIOWidgets/KDirLister>
......
......@@ -21,8 +21,9 @@
#include "filebrowsermodel.h"
#include <QReadLocker>
#include <QtConcurrentRun>
#include <QDir>
#include <QtConcurrent>
#include <KIOWidgets/KDirLister>
#include "elisautils.h"
......
......@@ -24,7 +24,8 @@
#include "filescanner.h"
#include "elisautils.h"
#include <KIOFileWidgets/KDirSortFilterProxyModel>
#include <KDirSortFilterProxyModel>
#include <QRegularExpression>
#include <QReadWriteLock>
#include <QThreadPool>
......
......@@ -21,9 +21,8 @@
#include "datatypes.h"
#include "elisautils.h"
#include <QStringList>
#include <QReadLocker>
#include <QtConcurrentRun>
#include <QtConcurrent>
GridViewProxyModel::GridViewProxyModel(QObject *parent) : AbstractMediaProxyModel(parent)
{
......
......@@ -20,7 +20,7 @@
#include "datatypes.h"
#include <QReadLocker>
#include <QtConcurrentRun>
#include <QtConcurrent>
SingleAlbumProxyModel::SingleAlbumProxyModel(QObject *parent) : AbstractMediaProxyModel(parent)
{
......
......@@ -21,7 +21,7 @@
#include <KI18n/KLocalizedString>
#include <QtConcurrentRun>
#include <QtConcurrent>
TrackMetadataModel::TrackMetadataModel(QObject *parent)
: QAbstractListModel(parent)
......
......@@ -30,11 +30,9 @@
#include <QCryptographicHash>
#include <QStringList>
#include <QMetaClassInfo>
#include <QDBusMessage>
#include <QDBusConnection>
#include <QDebug>
static const double MAX_RATE = 1.0;
static const double MIN_RATE = 1.0;
......
......@@ -26,8 +26,6 @@
#include <QDBusAbstractAdaptor>
#include <QDBusObjectPath>
#include <QPointer>
#include <QUrl>
#include <QDBusMessage>
class MediaPlayList;
......
......@@ -25,10 +25,7 @@
#include "mediaplaylist.h"
#include <QDBusConnection>
#include <QDir>
#include <QAbstractItemModel>
#include <QtGlobal>
#if defined Q_OS_WIN
#include <Windows.h>
......
......@@ -26,7 +26,6 @@
#include <QObject>
#include <QSharedPointer>
#include <QVariantMap>
#include <memory>
class MediaPlayer2Player;
......
......@@ -46,18 +46,12 @@
#include <KI18n/KLocalizedString>
#include <QThread>
#include <QMutex>
#include <QStandardPaths>
#include <QDir>
#include <QCoreApplication>
#include <QList>
#include <QScopedPointer>
#include <QPointer>
#include <QFileSystemWatcher>
#include <QAction>
#include <QDebug>
#include <list>
class MusicListenersManagerPrivate
......
......@@ -36,7 +36,6 @@
#endif
#include <QString>
#include <QByteArray>
#include <QCoreApplication>
......
......@@ -24,7 +24,6 @@
#include <QSet>
#include <QList>
#include <QDebug>
#include <array>
#include <algorithm>
......
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