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

Remove unused includes

parent 044c1ea7
Pipeline #236945 failed with stage
in 6 minutes and 59 seconds
......@@ -8,8 +8,6 @@
#include "btbrowsertest.h"
#include "btparser.h"
#include <QFileInfo>
#include <QTemporaryFile>
#include <QtTestWidgets>
QTEST_MAIN(KateBtBrowserTest)
......
......@@ -9,7 +9,6 @@
#include "btparser.h"
#include <KAboutData>
#include <KConfigGroup>
#include <KLineEdit>
#include <KLocalizedString> // i18n
......@@ -18,7 +17,6 @@
#include <ktexteditor/view.h>
#include <QClipboard>
#include <QDataStream>
#include <QDialogButtonBox>
#include <QDir>
#include <QFile>
......
......@@ -30,9 +30,8 @@
#include <KConfigGroup>
#include <KLocalizedString> /// \todo Where is \c i18n() defined?
#include <KSharedConfig>
#include <QBoxLayout>
#include <KWindowConfig>
#include <QHeaderView>
#include <QLabel>
#include <QPushButton>
#include <QStyle>
......
......@@ -31,12 +31,10 @@
#include "ui_close_confirm_dialog.h"
#include <KTextEditor/Document>
#include <KToggleAction>
#include <KWindowConfig>
#include <QCheckBox>
#include <QDialog>
#include <QList>
#include <QTreeWidget>
#include <QTreeWidgetItem>
namespace kate
{
......
......@@ -7,7 +7,6 @@
#include "hostprocess.h"
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <QProcess>
......
......@@ -12,9 +12,7 @@
#include <KLocalizedString>
#include <KSharedConfig>
#include <QApplication>
#include <QGroupBox>
#include <QStyle>
#include <QVBoxLayout>
KTextEditor::ConfigPage *KateColorPickerPlugin::configPage(int number, QWidget *parent)
......
#include "AsmViewModel.h"
#include <QColor>
#include <QDebug>
#include <QFontDatabase>
AsmViewModel::AsmViewModel(QObject *parent)
: QAbstractTableModel(parent)
......
......@@ -10,8 +10,6 @@
#include <KTextEditor/Plugin>
#include <KTextEditor/View>
#include <QVariantList>
class CEPlugin : public KTextEditor::Plugin
{
Q_OBJECT
......
......@@ -18,8 +18,6 @@
#include <QMenu>
#include <QPushButton>
#include <QSplitter>
#include <QStandardItemModel>
#include <QStringListModel>
#include <QToolButton>
#include <QTreeView>
......@@ -27,7 +25,6 @@
#include <KLocalizedString>
#include <KMessageBox>
#include <KSharedConfig>
#include <KTextEditor/ConfigInterface>
#include <KTextEditor/MainWindow>
#include <KXMLGUIFactory>
......
......@@ -16,11 +16,11 @@
#include <KLocalizedString>
#include <KTextEditor/Document>
#include <KTextEditor/Editor>
#include <KTextEditor/MainWindow>
#include <KTextEditor/View>
#include <QAction>
#include <kparts/part.h>
#include <KAboutData>
#include <KAuthorized>
#include <KConfig>
#include <KConfigGroup>
......@@ -29,7 +29,6 @@
#include <QClipboard>
#include <QGuiApplication>
#include <QScrollBar>
#include <ktexteditor_utils.h>
......
......@@ -9,22 +9,16 @@
#include "kateexternaltool.h"
#include <KLineEdit>
#include <KTextEditor/Document>
#include <KTextEditor/Editor>
#include <KTextEditor/View>
#include <ktexteditor_version.h>
#include <KConfig>
#include <KConfigGroup>
#include <KIconButton>
#include <KIconLoader>
#include <KMimeTypeChooser>
#include <KSharedConfig>
#include <KXMLGUIFactory>
#include <KXmlGuiWindow>
#include <QBitmap>
#include <QComboBox>
#include <QListView>
#include <QMenu>
#include <QMessageBox>
#include <QRegularExpression>
......
......@@ -10,13 +10,10 @@
#include "ui_configwidget.h"
#include "ui_tooldialog.h"
#include <KTextEditor/Application>
#include <KTextEditor/ConfigPage>
#include <KTextEditor/MainWindow>
#include <KTextEditor/Plugin>
#include <QDialog>
#include <QPixmap>
#include <QStandardItemModel>
class KConfig;
......
......@@ -18,7 +18,6 @@ class View;
}
#include <KActionMenu>
#include <KMacroExpander>
#include <KXMLGUIClient>
#include <QPointer>
......
......@@ -11,6 +11,7 @@
#include "katefilebrowser.h"
#include <KActionCollection>
#include <KBookmarkManager>
#include <KDirOperator>
#include <QMenu>
......
......@@ -10,7 +10,6 @@
#ifndef KATE_BOOKMARK_HANDLER_H
#define KATE_BOOKMARK_HANDLER_H
#include <KBookmarkManager>
#include <KBookmarkMenu>
#include <KBookmarkOwner>
......
......@@ -7,18 +7,15 @@
#include "katefiletreemodel.h"
#include <QDir>
#include <QFileInfo>
#include <QGuiApplication>
#include <QIcon>
#include <QList>
#include <QMimeData>
#include <QMimeDatabase>
#include <QStack>
#include <QWidget>
#include <KColorScheme>
#include <KColorUtils>
#include <KIconUtils>
#include <KLocalizedString>
#include <KTextEditor/MainWindow>
......
......@@ -15,7 +15,6 @@
#include <ktexteditor/application.h>
#include <ktexteditor/view.h>
#include <KAboutData>
#include <KActionCollection>
#include <KConfigGroup>
#include <KLocalizedString>
......@@ -24,7 +23,6 @@
#include <KXmlGuiWindow>
#include <QAction>
#include <QApplication>
#include <QLayout>
#include <QLineEdit>
#include <QStyle>
......
......@@ -7,10 +7,8 @@
#ifndef KATE_FILETREE_PLUGIN_H
#define KATE_FILETREE_PLUGIN_H
#include <QIcon>
#include <QTimer>
#include <KTextEditor/Command>
#include <KTextEditor/Plugin>
#include <ktexteditor/document.h>
#include <ktexteditor/editor.h>
......
......@@ -19,13 +19,11 @@
#include <QLayout>
#include <QPushButton>
#include <QStandardPaths>
#include <QTimer>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <KLocalizedString>
#include <KMessageBox>
#include "dap/settings.h"
#include "json_placeholders.h"
......
......@@ -29,8 +29,6 @@
#include <optional>
#include <utility>
#include <QList>
#include <KActionCollection>
#include <KConfigGroup>
#include <KSelectAction>
......
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