Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Remove even even more unneeded includes in libs/flake

parent 8d6147dc
......@@ -33,6 +33,7 @@ class QRect;
class QDomDocument;
class QDomElement;
class QString;
class KoShapeManager;
class KoStore;
class KoViewConverter;
class KoShapeBasedDocumentBase;
......
......@@ -29,6 +29,7 @@
#include <krita_export.h>
class KoStore;
class KoShapeManager;
class KisShapeSelectionCanvas;
class KisShapeSelectionModel;
class KisImageViewConverter;
......
......@@ -20,6 +20,7 @@
#define KIS_SHAPE_SELECTION_MODEL_H
#include <QObject>
#include <QRect>
#include "KoShapeContainerModel.h"
#include "kis_types.h"
#include "kis_signal_compressor.h"
......
......@@ -23,16 +23,11 @@
#ifndef KOSHAPE_H
#define KOSHAPE_H
#include "KoInsets.h"
#include "KoFlake.h"
#include "KoConnectionPoint.h"
#include <QSharedPointer>
#include <QTransform>
#include <QVector>
#include <QSet>
#include <QMap>
#include <QBrush>
#include <QMetaType>
#include <KoXmlReaderForward.h>
......@@ -45,19 +40,16 @@
class QPainter;
class QRectF;
class QPainterPath;
class QTransform;
class KoShapeContainer;
class KoShapeStrokeModel;
class KoShapeManager;
class KoShapeUserData;
class KoViewConverter;
class KoShapeApplicationData;
class KoShapeSavingContext;
class KoCanvasBase;
class KoShapeLoadingContext;
class KoGenStyle;
class KoShapeBasedDocumentBase;
class KoDataCenterBase;
class KoShapeShadow;
class KoEventAction;
class KoShapePrivate;
......@@ -67,6 +59,7 @@ class KoClipPath;
class KoShapePaintingContext;
class KoShapeAnchor;
class KoBorder;
struct KoInsets;
/**
......
......@@ -33,6 +33,7 @@
#include <KoUnit.h>
#include <QRectF>
#include <QTransform>
#include <kdebug.h>
#include <KoGenChanges.h>
......
......@@ -23,14 +23,13 @@
#include "flake_export.h"
#include <QPointF>
#include <KoXmlReaderForward.h>
class KoShape;
class KoXmlElement;
class KoShapeLoadingContext;
class KoShapeSavingContext;
class KoShapeAnchorPrivate;
class QTextDocument;
class QPointF;
/**
......
......@@ -22,9 +22,6 @@
#include "flake_export.h"
#include <QObject>
#include <QSharedPointer>
class QSizeF;
class QPainter;
class QPainterPath;
......
......@@ -30,6 +30,7 @@
#include "KoShapeRegistry.h"
#include "KoShapeStrokeModel.h"
#include "KoShapeShadow.h"
#include "KoInsets.h"
#include <QPainter>
......
......@@ -32,6 +32,7 @@
#include <KoUnit.h>
#include <QPainter>
#include <QImage>
class SimpleCanvas : public KoCanvasBase
......
......@@ -21,16 +21,12 @@
#ifndef KOSHAPEREGISTRY_H
#define KOSHAPEREGISTRY_H
#include <QObject>
#include <KoGenericRegistry.h>
#include <KoXmlReader.h>
#include <KoShapeFactoryBase.h>
#include "flake_export.h"
class KoShape;
class KoShapeFactoryBase;
class KoShapeLoadingContext;
......
......@@ -35,8 +35,8 @@
#include <kmimetype.h>
#include <kdebug.h>
#include <QMap>
#include <QUuid>
#include <QImage>
class KoShapeSavingContextPrivate {
public:
......
......@@ -25,10 +25,8 @@
#include "flake_export.h"
#include <QImage>
#include <QTransform>
#include <QTextBlockUserData>
#include <KoElementReference.h>
#include <QMap>
class KoShape;
class KoXmlWriter;
......@@ -42,6 +40,9 @@ class KoStore;
class KoSharedSavingData;
class KoShapeSavingContextPrivate;
class QImage;
class QTransform;
/**
* The set of data for the ODF file format used during saving of a shape.
*/
......
......@@ -22,15 +22,13 @@
#define KOSHAPESHADOW_H
#include "flake_export.h"
#include <QPointF>
#include <QColor>
class KoShape;
class KoGenStyle;
class KoShapeSavingContext;
class QPainter;
class QPointF;
class QImage;
class QColor;
class KoViewConverter;
struct KoInsets;
......
......@@ -29,9 +29,9 @@
// Qt
#include <QPainterPath>
#include <QPainter>
// Calligra
#include <KoGenStyle.h>
#include <KoGenStyles.h>
#include <KoOdfGraphicStyles.h>
......
......@@ -29,9 +29,11 @@
#include "flake_export.h"
#include <QColor>
class KoShape;
class QPainter;
class QColor;
class QBrush;
class KoViewConverter;
/**
......
......@@ -21,6 +21,8 @@
#include "KoShapeStrokeModel.h"
#include <QAtomicInt>
class KoShapeStrokeModel::Private
{
public:
......
......@@ -23,16 +23,16 @@
#ifndef KOSHAPESTROKEMODEL_H
#define KOSHAPESTROKEMODEL_H
#include "KoInsets.h"
#include <QPainter>
#include "flake_export.h"
class KoShape;
class KoGenStyle;
class KoShapeSavingContext;
class KoViewConverter;
struct KoInsets;
class QColor;
class QPainter;
/**
* A model for strokes of KoShapes.
......
......@@ -24,6 +24,7 @@
#include <QPoint>
#include <QPaintDevice>
#include <QTransform>
#include <KoCanvasBase.h>
......
......@@ -26,6 +26,8 @@
#include <KoPostscriptPaintDevice.h>
#include <SvgShape.h>
#include <QFont>
#include <QPainterPath>
#include <QVector>
class QPainter;
class KoPathShape;
......
......@@ -19,8 +19,8 @@
*/
// Qt
#include <QSizeF>
#include <QPointF>
#include <QRectF>
#include <QTransform>
// KChart
#include "ChartLayout.h"
......
......@@ -46,6 +46,7 @@ class QColor;
class QString;
class QFont;
class KoCanvasBase;
class KoDocumentResourceManager;
class KoShapeLoadingContext;
class KoShapeSavingContext;
......
......@@ -27,6 +27,7 @@
#include <QList>
#include <QMap>
#include <QRectF>
#include <QStringList>
#define EnhancedPathShapeId "EnhancedPathShape"
......
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