┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2014-10-18 15:00:17 +0200
committerMontel Laurent <[email protected]>2014-10-18 15:00:17 +0200
commit0a6257bce3de877e4ae869f974df645c428d32c9 (patch)
tree7a86e6d5022acc7717806664337075137e00f5d2 /src/panels
parentaabd6ad3bc0fd11793c3332c9181af95da9bf607 (diff)
Fix includes
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/folders/folderspanel.h2
-rw-r--r--src/panels/folders/treeviewcontextmenu.cpp1
-rw-r--r--src/panels/information/informationpanel.h2
-rw-r--r--src/panels/information/informationpanelcontent.cpp3
-rw-r--r--src/panels/information/informationpanelcontent.h3
-rw-r--r--src/panels/information/pixmapviewer.cpp2
-rw-r--r--src/panels/panel.h1
-rw-r--r--src/panels/places/placesitem.cpp1
-rw-r--r--src/panels/places/placesitemeditdialog.cpp4
-rw-r--r--src/panels/places/placesitemmodel.cpp2
-rw-r--r--src/panels/places/placespanel.cpp1
-rw-r--r--src/panels/places/placespanel.h2
-rw-r--r--src/panels/terminal/terminalpanel.cpp2
-rw-r--r--src/panels/terminal/terminalpanel.h2
14 files changed, 10 insertions, 18 deletions
diff --git a/src/panels/folders/folderspanel.h b/src/panels/folders/folderspanel.h
index 14d8e8782..1d3039d1f 100644
--- a/src/panels/folders/folderspanel.h
+++ b/src/panels/folders/folderspanel.h
@@ -26,7 +26,7 @@
class KFileItemModel;
class KItemListController;
class QGraphicsSceneDragDropEvent;
-
+class KFileItem;
/**
* @brief Shows a tree view of the directories starting from
* the currently selected place.
diff --git a/src/panels/folders/treeviewcontextmenu.cpp b/src/panels/folders/treeviewcontextmenu.cpp
index 445b261b9..330e18560 100644
--- a/src/panels/folders/treeviewcontextmenu.cpp
+++ b/src/panels/folders/treeviewcontextmenu.cpp
@@ -21,7 +21,6 @@
#include "treeviewcontextmenu.h"
#include <KFileItem>
-#include <KIconLoader>
#include <KIO/CopyJob>
#include <KIO/DeleteJob>
#include <KIO/JobUiDelegate>
diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h
index c68b66ee1..8a1237b95 100644
--- a/src/panels/information/informationpanel.h
+++ b/src/panels/information/informationpanel.h
@@ -21,7 +21,7 @@
#define INFORMATIONPANEL_H
#include <panels/panel.h>
-
+#include <KFileItemList>
class InformationPanelContent;
namespace KIO
{
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp
index 0ec82a424..ce138baee 100644
--- a/src/panels/information/informationpanelcontent.cpp
+++ b/src/panels/information/informationpanelcontent.cpp
@@ -32,6 +32,7 @@
#include <QMenu>
#include <kseparator.h>
#include <KStringHandler>
+#include <QTextDocument>
#ifndef HAVE_BALOO
#include <KFileMetaDataWidget>
@@ -49,10 +50,8 @@
#include <QEvent>
#include <QLabel>
#include <QPixmap>
-#include <QPointer>
#include <QResizeEvent>
#include <QScrollArea>
-#include <QTextDocument>
#include <QTextLayout>
#include <QTextLine>
#include <QTimer>
diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h
index 67fdf6c5a..6e4faec82 100644
--- a/src/panels/information/informationpanelcontent.h
+++ b/src/panels/information/informationpanelcontent.h
@@ -21,12 +21,11 @@
#define INFORMATIONPANELCONTENT_H
#include "config-baloo.h"
-#include <KConfig>
#include <KFileItem>
#include <KUrl>
-#include <KVBox>
#include <QPointer>
+#include <QWidget>
class KFileItemList;
class PhononWidget;
diff --git a/src/panels/information/pixmapviewer.cpp b/src/panels/information/pixmapviewer.cpp
index 7b3a212f2..0053e43f9 100644
--- a/src/panels/information/pixmapviewer.cpp
+++ b/src/panels/information/pixmapviewer.cpp
@@ -21,10 +21,8 @@
#include <KIconLoader>
-#include <QLayout>
#include <QPainter>
#include <QPixmap>
-#include <QKeyEvent>
PixmapViewer::PixmapViewer(QWidget* parent, Transition transition) :
QWidget(parent),
diff --git a/src/panels/panel.h b/src/panels/panel.h
index a0b25d6cc..b2562dd6b 100644
--- a/src/panels/panel.h
+++ b/src/panels/panel.h
@@ -23,7 +23,6 @@
#include <QWidget>
#include <KUrl>
-#include <KFileItem>
/**
* @brief Base widget for all panels that can be docked on the window borders.
diff --git a/src/panels/places/placesitem.cpp b/src/panels/places/placesitem.cpp
index e667af302..edfe02343 100644
--- a/src/panels/places/placesitem.cpp
+++ b/src/panels/places/placesitem.cpp
@@ -25,7 +25,6 @@
#include <KBookmarkManager>
#include <KDebug>
#include <KDirLister>
-#include <QIcon>
#include <KLocalizedString>
#include "placesitemsignalhandler.h"
#include <QDateTime>
diff --git a/src/panels/places/placesitemeditdialog.cpp b/src/panels/places/placesitemeditdialog.cpp
index 87fbf4c29..0fae3f248 100644
--- a/src/panels/places/placesitemeditdialog.cpp
+++ b/src/panels/places/placesitemeditdialog.cpp
@@ -23,9 +23,7 @@
#include "placesitemeditdialog.h"
-#include <KAboutData>
#include <k4aboutdata.h>
-#include <KComponentData>
#include <KDebug>
#include <KFile>
#include <KGlobal>
@@ -34,11 +32,11 @@
#include <KLocalizedString>
#include <KMimeType>
#include <KUrlRequester>
+#include <KComponentData>
#include <QCheckBox>
#include <QEvent>
#include <QFormLayout>
#include <QVBoxLayout>
-#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QPushButton>
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp
index 344e176a3..14d97de5b 100644
--- a/src/panels/places/placesitemmodel.cpp
+++ b/src/panels/places/placesitemmodel.cpp
@@ -28,11 +28,11 @@
#include <KBookmark>
#include <KBookmarkGroup>
#include <KBookmarkManager>
-#include <KComponentData>
#include <KDebug>
#include <QIcon>
#include <kprotocolinfo.h>
#include <KLocalizedString>
+#include <KComponentData>
#include <QStandardPaths>
#include <KUser>
#include <KGlobal>
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index cdc1ebb1a..68c7fa558 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -25,6 +25,7 @@
#include "dolphin_generalsettings.h"
+#include <KFileItem>
#include <KDebug>
#include <KDirNotify>
#include <QIcon>
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h
index 3078f0222..1f7979eca 100644
--- a/src/panels/places/placespanel.h
+++ b/src/panels/places/placespanel.h
@@ -29,7 +29,7 @@ class PlacesItem;
class PlacesItemModel;
class PlacesView;
class QGraphicsSceneDragDropEvent;
-
+class KJob;
/**
* @brief Combines bookmarks and mounted devices as list.
*/
diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp
index c8352f73a..964479628 100644
--- a/src/panels/terminal/terminalpanel.cpp
+++ b/src/panels/terminal/terminalpanel.cpp
@@ -31,9 +31,9 @@
#include <KIO/JobUiDelegate>
#include <KJobWidgets>
-#include <QBoxLayout>
#include <QDir>
#include <QShowEvent>
+#include <QVBoxLayout>
TerminalPanel::TerminalPanel(QWidget* parent) :
Panel(parent),
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h
index 987ee4753..6a0b38f5b 100644
--- a/src/panels/terminal/terminalpanel.h
+++ b/src/panels/terminal/terminalpanel.h
@@ -33,7 +33,7 @@ namespace KIO {
namespace KParts {
class ReadOnlyPart;
}
-
+class KJob;
/**
* @brief Shows the terminal which is synchronized with the URL of the
* active view.