1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 01:29:41 +01:00

Remove unneeded includes

This commit is contained in:
Jonas Kvinge 2024-09-24 20:41:11 +02:00
parent 3c984ac8cf
commit 2e6408a4f7
15 changed files with 8 additions and 23 deletions

View File

@ -31,8 +31,6 @@
#include <vector>
#include <QtGlobal>
#include <QObject>
#include <QWidget>
#include <QBasicTimer>
#include <QString>

View File

@ -29,7 +29,6 @@
#include <QVariant>
#include <QString>
#include <QStringList>
#include <QRegularExpression>
#include <QSqlDatabase>
#include "core/sqlquery.h"

View File

@ -24,7 +24,6 @@
#include "config.h"
#include <QMetaType>
#include <QVariant>
#include <QString>
#include <QStringList>

View File

@ -20,7 +20,7 @@
#ifndef COLLECTIONTASK_H
#define COLLECTIONTASK_H
#include <QtGlobal>
#include <QtClassHelperMacros>
#include <QString>
#include "core/shared_ptr.h"

View File

@ -25,7 +25,6 @@
#include <memory>
#include <QtGlobal>
#include <QWidget>
#include <QAbstractItemView>
#include <QTreeView>
#include <QItemSelectionModel>
@ -46,7 +45,10 @@
#include <QAction>
#include <QMessageBox>
#include <QSettings>
#include <QtEvents>
#include <QPaintEvent>
#include <QMouseEvent>
#include <QKeyEvent>
#include <QContextMenuEvent>
#include "core/application.h"
#include "core/iconloader.h"

View File

@ -24,7 +24,6 @@
#include "config.h"
#include <QObject>
#include <QAbstractItemModel>
#include <QAbstractItemView>
#include <QString>
@ -35,7 +34,6 @@
#include "core/song.h"
#include "widgets/autoexpandingtreeview.h"
class QWidget;
class QMenu;
class QAction;
class QContextMenuEvent;

View File

@ -21,9 +21,6 @@
#include "config.h"
#include <QWidget>
#include <QKeyEvent>
#include "collectionfilterwidget.h"
#include "collectionview.h"
#include "collectionviewcontainer.h"

View File

@ -24,7 +24,6 @@
#include "config.h"
#include <QObject>
#include <QWidget>
class CollectionFilterWidget;

View File

@ -36,12 +36,10 @@
#include <QScreen>
#include <QMetaObject>
#include <QThread>
#include <QSortFilterProxyModel>
#include <QByteArray>
#include <QDir>
#include <QFile>
#include <QFileDialog>
#include <QFileInfo>
#include <QFontMetrics>
#include <QList>
#include <QSet>
@ -60,7 +58,6 @@
#include <QShortcut>
#include <QMessageBox>
#include <QErrorMessage>
#include <QtEvents>
#include <QSettings>
#include <QColor>
#include <QFrame>
@ -74,6 +71,9 @@
#include <QToolButton>
#include <QCheckBox>
#include <QClipboard>
#include <QShowEvent>
#include <QCloseEvent>
#include <QKeyEvent>
#ifdef HAVE_DBUS
# include <QDBusConnection>
# include <QDBusMessage>

View File

@ -28,7 +28,6 @@
# include <gst/gstelement.h>
#endif
#include <QDataStream>
#include <QAbstractSocket>
#include <QMetaType>
#include <QFileInfo>

View File

@ -31,7 +31,6 @@
#include <QObject>
#include <QFile>
#include <QList>
#include <QJsonArray>
#include <QVariant>
#include <QVariantMap>
#include <QString>

View File

@ -21,14 +21,12 @@
#include "config.h"
#include <QtGlobal>
#include <QObject>
#include <QAbstractItemModel>
#include <QSortFilterProxyModel>
#include <QMetaType>
#include <QDateTime>
#include <QVariant>
#include <QString>
#include <QChar>
#include "multisortfilterproxy.h"

View File

@ -22,7 +22,6 @@
#include "config.h"
#include <QtGlobal>
#include <QObject>
#include <QCoreApplication>
#include <QIODevice>
#include <QByteArray>

View File

@ -24,7 +24,6 @@
#include "config.h"
#include <QtGlobal>
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkRequest>

View File

@ -23,7 +23,6 @@
#include "config.h"
#include <QtGlobal>
#include <QObject>
#include <QHash>