Remove unneeded includes of KoColor.h

parent 495b821a
......@@ -25,7 +25,6 @@
class KisPaintInformation;
class KisPainter;
class KoColor;
class KoCompositeOp;
#include <krita_export.h>
......
......@@ -21,8 +21,6 @@
#include <QtTest>
class KoColorSpace;
class KisSelectionTest : public QObject
{
Q_OBJECT
......
......@@ -19,7 +19,6 @@
#define _PATTERN_DOCK_H_
#include <QDockWidget>
#include <KoColor.h>
#include <KoCanvasObserverBase.h>
class KisPattern;
......
......@@ -19,7 +19,6 @@
#define _PRESETDOCKER_DOCK_H_
#include <QDockWidget>
#include <KoColor.h>
#include <KoCanvasObserverBase.h>
class KisPaintOpPresetsChooserPopup;
......
......@@ -22,7 +22,6 @@
#include <KoCanvasObserverBase.h>
class KisSmallColorWidget;
class KoColor;
class SmallColorSelectorDock : public QDockWidget, public KoCanvasObserverBase
{
......
......@@ -26,8 +26,6 @@
#include <kis_types.h>
#include <kis_color_option.h>
#include <KoColor.h>
#include "kis_grid_paintop_settings.h"
......
......@@ -37,7 +37,6 @@ class QString;
class QPoint;
class QIODevice;
class KoColor;
class BRUSH_EXPORT KisAbrBrush : public KisBrush
{
......
......@@ -35,8 +35,6 @@ class QString;
class QPoint;
class QIODevice;
class KoColor;
class KisAbrBrush;
struct AbrInfo;
......
......@@ -37,8 +37,6 @@ class QString;
class QPoint;
class QIODevice;
class KoColor;
class BRUSH_EXPORT KisGbrBrush : public KisBrush
{
......
......@@ -28,13 +28,13 @@
#include <kis_types.h>
#include <QWidget>
#include <QQueue>
#include <KoColor.h>
#include <KoTriangleColorSelector.h>
class KisFavoriteBrushData;
class KoFavoriteResourceManager;
class QWidget;
class KisTriangleColorSelector;
class KoColor;
class KisPopupPalette : public QWidget
{
......
......@@ -24,7 +24,6 @@
#include "kis_types.h"
class QGridLayout;
class KoColor;
class KoColorPopupAction;
class KisPaintOpSettingsWidget;
class KisRecordedPaintAction;
......
......@@ -20,6 +20,7 @@
#include "KoAbstractGradient.h"
#include "KoColorSpaceRegistry.h"
#include <KoColor.h>
#define PREVIEW_WIDTH 64
#define PREVIEW_HEIGHT 64
......
......@@ -20,11 +20,12 @@
#include <QGradient>
#include "KoColor.h"
#include "KoColorSpace.h"
#include "KoResource.h"
#include <pigment_export.h>
class KoColor;
/**
* KoAbstractGradient is the base class of all gradient resources
*/
......
......@@ -23,7 +23,7 @@
#include <cfloat>
#include <QColor>
#include <KoColor.h>
#include <klocale.h>
#include <kdebug.h>
......
......@@ -21,11 +21,11 @@
#include <QGradient>
#include "KoAbstractGradient.h"
#include "KoColor.h"
#include "KoColorSpace.h"
#include "KoResource.h"
#include <pigment_export.h>
class KoColorSpace;
/**
* KoAbstractGradient is the base class of all gradient resources
*/
......
......@@ -20,7 +20,8 @@
#include "KoColorSlider.h"
#include "KoColorSpace.h"
#include <QColor>
#include <KoColor.h>
#include <QPainter>
#include <QTimer>
......
......@@ -23,7 +23,7 @@
#include <kselector.h>
#include "kowidgets_export.h"
#include <KoColor.h>
class KoColor;
class KOWIDGETS_EXPORT KoColorSlider : public KSelector
{
......
......@@ -26,7 +26,6 @@
#include <QWidget>
class KoCanvasBase;
class KoColor;
class KoResource;
class KoShapeBackground;
class KoShape;
......
......@@ -25,7 +25,6 @@
#include <QWidget>
class KoUnit;
class KoColor;
class KoCanvasBase;
/// A widget for configuring the shadow of a shape
......
......@@ -20,6 +20,8 @@
#include "KoUniColorDialog.h"
#include "KoUniColorChooser.h"
#include <KoColor.h>
#include <klocale.h>
class KoUniColorDialogPrivate
......
......@@ -20,11 +20,10 @@
#ifndef KOUNICOLORDIALOG_H
#define KOUNICOLORDIALOG_H
#include "KoColor.h"
#include <kpagedialog.h>
#include "kowidgets_export.h"
class KoColor;
class KoUniColorDialogPrivate;
/**
......
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