mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Remove unused includes
This commit is contained in:
parent
c9271bf5b8
commit
e19aa49a08
|
@ -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 <KIO/Job>
|
||||
#include <KIO/JobUiDelegate>
|
||||
#include <KJobWidgets>
|
||||
#include <KDirNotify>
|
||||
#include <KIO/Job>
|
||||
#include <KJobWidgets>
|
||||
#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>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include <QGuiApplication>
|
||||
#include <QPalette>
|
||||
#include <QtGlobal>
|
||||
#include <QWidget>
|
||||
|
||||
using namespace SelectionMode;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <QResizeEvent>
|
||||
#include <QScrollArea>
|
||||
#include <QStyle>
|
||||
#include <QtGlobal>
|
||||
#include <QTimer>
|
||||
|
||||
using namespace SelectionMode;
|
||||
|
|
|
@ -15,12 +15,10 @@
|
|||
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QPalette>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QPushButton>
|
||||
#include <QScrollArea>
|
||||
#include <QStyle>
|
||||
#include <QtGlobal>
|
||||
|
||||
using namespace SelectionMode;
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include <QPointer>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QStyle>
|
||||
#include <QWidget>
|
||||
|
||||
class QHideEvent;
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#ifndef CONFIGUREPREVIEWPLUGINDIALOG_H
|
||||
#define CONFIGUREPREVIEWPLUGINDIALOG_H
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <kiowidgets_export.h>
|
||||
|
||||
#if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QListView>
|
||||
#include <QPainter>
|
||||
#include <QScroller>
|
||||
#include <QShowEvent>
|
||||
#include <QSortFilterProxyModel>
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <QCheckBox>
|
||||
#include <QFormLayout>
|
||||
#include <QRadioButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) :
|
||||
SettingsPageBase(parent),
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include "viewsettingstab.h"
|
||||
#include "views/dolphinview.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <variant>
|
||||
|
||||
class CompactModeSettings;
|
||||
|
|
|
@ -18,14 +18,13 @@
|
|||
#include <KFormat>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QButtonGroup>
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QHelpEvent>
|
||||
#include <QFormLayout>
|
||||
#include <QSpinBox>
|
||||
#include <QHelpEvent>
|
||||
#include <QRadioButton>
|
||||
#include <QButtonGroup>
|
||||
#include <QLabel>
|
||||
#include <QSpinBox>
|
||||
|
||||
ViewSettingsTab::ViewSettingsTab(Mode mode, QWidget* parent) :
|
||||
QWidget(parent),
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "applyviewpropsjob.h"
|
||||
#include "views/viewproperties.h"
|
||||
|
||||
#include <KConfigGroup>
|
||||
#include <KLocalizedString>
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <QMenu>
|
||||
#include <QProgressBar>
|
||||
#include <QSlider>
|
||||
#include <QTextDocument>
|
||||
#include <QTimer>
|
||||
#include <QToolButton>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#ifndef SPACEINFOOBSERVER_H
|
||||
#define SPACEINFOOBSERVER_H
|
||||
|
||||
#include <KIO/Job>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class QUrl;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <KLocalizedString>
|
||||
#include <KMoreToolsMenuFactory>
|
||||
|
||||
#include <KIO/Global>
|
||||
#include <QMouseEvent>
|
||||
|
||||
StatusBarSpaceInfo::StatusBarSpaceInfo(QWidget* parent) :
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include <KIO/JobUiDelegate>
|
||||
#include <KIO/Paste>
|
||||
#include <KIO/PasteJob>
|
||||
#include <KIO/PreviewJob>
|
||||
#include <KIO/RenameFileDialog>
|
||||
#include <KJobWidgets>
|
||||
#include <KLocalizedString>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "dolphinfilemetadatawidget.h"
|
||||
|
||||
#include <KIO/JobUiDelegate>
|
||||
#include <KIO/PreviewJob>
|
||||
#include <KConfigGroup>
|
||||
#include <KJobWidgets>
|
||||
|
@ -17,8 +16,6 @@
|
|||
#include <KIconLoader>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QIcon>
|
||||
#include <QLayout>
|
||||
#include <QStyle>
|
||||
#include <QTimer>
|
||||
#include <QWindow>
|
||||
|
|
Loading…
Reference in a new issue