Commit 63952c75 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

cleanup includes

remove unnecessary ones + forward declare where possible
parent 9646862b
Pipeline #169391 passed with stage
in 2 minutes and 44 seconds
......@@ -11,7 +11,6 @@
#include <cmath> //::segmentAt()
#include <QApplication> //sendEvent
#include <QBitmap> //ctor - finding cursor size
#include <QClipboard>
#include <QCursor> //slotPostMouseEvent()
#include <QDebug>
......@@ -26,11 +25,8 @@
#include <QQuickWindow>
#include <QResizeEvent>
#include <QScreen>
#include <QTimer>
#include <QUrl>
#include <QWindow>
#include <KCursor>
#include <KIO/DeleteJob>
#include <KIO/Job> //::mousePressEvent()
#include <KIO/JobUiDelegate>
......
......@@ -8,22 +8,19 @@
#pragma once
#include <KJob>
#include <QUrl>
#include <QDragEnterEvent>
#include <QDropEvent>
#include <QLabel>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QQuickPaintedItem>
#include <QResizeEvent>
#include <QTimer>
#include <QWidget>
#include <QUrl>
#include "Config.h" // Dirty
#include "map.h"
class QMouseEvent;
class QDropEvent;
class KJob;
class QDragEnterEvent;
class Folder;
class File;
namespace KIO
......
......@@ -7,6 +7,7 @@
***********************************************************************/
#include "filelight_debug.h"
#include <QApplication> //make()
#include <QBrush>
#include <QFont> //ctor
......@@ -15,14 +16,13 @@
#include <QPainter>
#include <QSvgGenerator>
#include <KCursor> //make()
#include <KColorScheme>
#include <KLocalizedString>
#include "radialMap.h" // defines
#include "Config.h"
#define SINCOS_H_IMPLEMENTATION (1)
#include "Config.h"
#include "map.h"
#include "radialMap.h" // defines
#include "sincos.h"
RadialMap::Map::Map()
......
......@@ -11,8 +11,6 @@
#include "fileTree.h"
#include <KColorScheme>
#include <QPixmap>
#include <QRectF>
#include <QString>
......
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