Commit e19aa49a authored by Laurent Montel's avatar Laurent Montel
Browse files

Remove unused includes

parent c9271bf5
Pipeline #236953 failed with stage
in 9 minutes and 40 seconds
......@@ -11,9 +11,7 @@
#include <KPropertiesDialog>
#include <KWindowSystem>
#include <QApplication>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusConnectionInterface>
DBusInterface::DBusInterface() :
......
......@@ -10,7 +10,6 @@
#include "global.h"
#include <KActionCollection>
#include <KBookmarkMenu>
#include <KIO/Global>
#include <QDebug>
#include <QDir>
#include <QStandardPaths>
......
......@@ -28,16 +28,12 @@
#include <KJobWidgets>
#include <KLocalizedString>
#include <KNewFileMenu>
#include <KPluginMetaData>
#include <KStandardAction>
#include <KToolBar>
#include <kio_version.h>
#include <QApplication>
#include <QClipboard>
#include <QKeyEvent>
#include <QMenuBar>
#include <QMimeDatabase>
DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent,
const KFileItem& fileInfo,
......
......@@ -12,13 +12,10 @@
#include <KLocalizedString>
#include <KNotificationJobUiDelegate>
#include <KService>
#include <KXMLGUIFactory>
#include <KXmlGuiWindow>
#include <KIO/ApplicationLauncherJob>
#include <QApplication>
#include <QDomDocument>
#include <QHBoxLayout>
#include <QPushButton>
#include <QToolBar>
......
......@@ -10,10 +10,9 @@
#include "dolphin_generalsettings.h"
#include "dolphinviewcontainer.h"
#include <QVariantAnimation>
#include <QGridLayout>
#include <QWidgetAction>
#include <QStyle>
#include <QVariantAnimation>
DolphinTabPage::DolphinTabPage(const QUrl &primaryUrl, const QUrl &secondaryUrl, QWidget* parent) :
QWidget(parent),
......
......@@ -24,23 +24,19 @@
#endif
#include <KFileItemActions>
#include <KFilePlacesModel>
#include <KIO/PreviewJob>
#include <KIO/OpenUrlJob>
#include <KIO/JobUiDelegate>
#include <KIO/OpenUrlJob>
#include <KLocalizedString>
#include <KMessageWidget>
#include <KProtocolManager>
#include <KShell>
#include <KUrlComboBox>
#include <QDesktopServices>
#include <QDropEvent>
#include <QGridLayout>
#include <QGuiApplication>
#include <QLoggingCategory>
#include <QMimeData>
#include <QTimer>
#include <QUrl>
#include <QDesktopServices>
// An overview of the widgets contained by this ViewContainer
struct LayoutStructure {
......
......@@ -12,7 +12,6 @@
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QLabel>
#include <QLineEdit>
#include <QToolButton>
......
......@@ -15,10 +15,8 @@
#include <KDialogJobUiDelegate>
#include <KIO/ApplicationLauncherJob>
#include <KService>
#include <KWindowSystem>
#include <QApplication>
#include <QIcon>
QList<QUrl> Dolphin::validateUris(const QStringList& uriList)
{
......
......@@ -13,7 +13,6 @@
#include <KConfig>
#include <KConfigGroup>
#include <KIO/JobUiDelegate>
#include <KIO/PreviewJob>
#include <KIconLoader>
#include <KJobWidgets>
......@@ -28,11 +27,10 @@
#endif
#include <QApplication>
#include <QElapsedTimer>
#include <QFileInfo>
#include <QIcon>
#include <QPainter>
#include <QPluginLoader>
#include <QElapsedTimer>
#include <QTimer>
// #define KFILEITEMMODELROLESUPDATER_DEBUG
......
......@@ -27,7 +27,6 @@
#include <QGraphicsSceneEvent>
#include <QGraphicsView>
#include <QMimeData>
#include <QStyleHints>
#include <QTimer>
#include <QTouchEvent>
......
......@@ -11,7 +11,6 @@
#include "kitemviews/kitemlistgroupheader.h"
#include <QPixmap>
#include <QStaticText>
class DOLPHIN_EXPORT KStandardItemListGroupHeader : public KItemListGroupHeader
{
......
......@@ -21,7 +21,6 @@
#include <QGraphicsScene>
#include <QGraphicsSceneResizeEvent>
#include <QGraphicsView>
#include <QGuiApplication>
#include <QPixmapCache>
#include <QStyleOption>
......
......@@ -12,9 +12,7 @@
#include <KFileMetaData/UserMetaData>
#include <QCollator>
#include <QDebug>
#include <QSize>
#include <QTime>
namespace {
QString tagsFromValues(const QStringList& values)
......
......@@ -11,7 +11,6 @@
#include "kdirectorycontentscounterworker.h"
#include <QSet>
#include <QHash>
class KDirWatch;
class KFileItemModel;
......
......@@ -31,8 +31,6 @@
#include <QApplication>
#include <QCommandLineParser>
#include <QDBusConnection>
#include <QDBusInterface>
#include <QDBusAbstractInterface>
#include <QDBusConnectionInterface>
#include <QSessionManager>
......
......@@ -8,10 +8,9 @@
#include "informationpanelcontent.h"
#include <KDirNotify>
#include <KIO/Job>
#include <KIO/JobUiDelegate>
#include <KJobWidgets>
#include <KDirNotify>
#include <KLocalizedString>
#include <Baloo/FileMetaDataWidget>
......
......@@ -6,7 +6,6 @@
#include "informationpanelcontent.h"
#include <KIO/JobUiDelegate>
#include <KIO/PreviewJob>
#include <KConfigGroup>
#include <KIconEffect>
......@@ -19,6 +18,7 @@
#include <QPainterPath>
#include <QIcon>
#include <QStyle>
#include <QTextDocument>
#include <Baloo/FileMetaDataWidget>
......@@ -26,19 +26,17 @@
#include <Phonon/BackendCapabilities>
#include <Phonon/MediaObject>
#include <QLabel>
#include <QDialogButtonBox>
#include <QGesture>
#include <QLabel>
#include <QLinearGradient>
#include <QPainter>
#include <QPolygon>
#include <QScrollArea>
#include <QScroller>
#include <QTextLayout>
#include <QTimer>
#include <QVBoxLayout>
#include <QScroller>
#include <QStyle>
#include <QPainter>
#include <QBitmap>
#include <QLinearGradient>
#include <QPolygon>
#include <QGesture>
#include "dolphin_informationpanelsettings.h"
#include "phononwidget.h"
......
......@@ -29,7 +29,6 @@
#include <QMenu>
#include <QMimeData>
#include <QShowEvent>
#include <QTimer>
#include <Solid/StorageAccess>
......
......@@ -9,7 +9,6 @@
#include <KActionCollection>
#include <KIO/DesktopExecParser>
#include <KIO/Job>
#include <KIO/JobUiDelegate>
#include <KJobWidgets>
#include <KLocalizedString>
#include <KMessageWidget>
......@@ -25,7 +24,6 @@
#include <QAction>
#include <QDesktopServices>
#include <QDir>
#include <QLabel>
#include <QShowEvent>
#include <QTimer>
#include <QVBoxLayout>
......
......@@ -27,7 +27,6 @@
#include <QHBoxLayout>
#include <QIcon>
#include <QKeyEvent>
#include <QLabel>
#include <QLineEdit>
#include <QScrollArea>
#include <QShowEvent>
......
Supports Markdown
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