Commit 99776708 authored by Elvis Angelaccio's avatar Elvis Angelaccio

Drop unused includes and use forward declaration

GIT_SILENT
parent aad42a73
...@@ -30,14 +30,13 @@ ...@@ -30,14 +30,13 @@
#include "pluginmanager.h" #include "pluginmanager.h"
#include "part/interface.h" #include "part/interface.h"
#include <KParts/ReadWritePart>
#include <KPluginFactory> #include <KPluginFactory>
#include <KMessageBox> #include <KMessageBox>
#include <KLocalizedString> #include <KLocalizedString>
#include <KActionCollection> #include <KActionCollection>
#include <KStandardAction> #include <KStandardAction>
#include <KRecentFilesAction> #include <KRecentFilesAction>
#include <KEditToolBar>
#include <KShortcutsDialog>
#include <KService> #include <KService>
#include <KSharedConfig> #include <KSharedConfig>
#include <KConfigDialog> #include <KConfigDialog>
...@@ -46,7 +45,6 @@ ...@@ -46,7 +45,6 @@
#include <KXMLGUIFactory> #include <KXMLGUIFactory>
#include <QApplication> #include <QApplication>
#include <QDebug>
#include <QDragEnterEvent> #include <QDragEnterEvent>
#include <QDragMoveEvent> #include <QDragMoveEvent>
#include <QFileDialog> #include <QFileDialog>
......
...@@ -24,7 +24,11 @@ ...@@ -24,7 +24,11 @@
#include <KParts/MainWindow> #include <KParts/MainWindow>
#include <KParts/OpenUrlArguments> #include <KParts/OpenUrlArguments>
#include <KParts/ReadWritePart>
namespace KParts
{
class ReadWritePart;
}
class KRecentFilesAction; class KRecentFilesAction;
......
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