Commit ea564de2 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Clean out forward includes

kde-dev-scripts/kf5/clean-forward-declaration.sh plus manual intervention
parent 7f637e3f
......@@ -26,7 +26,6 @@
#include <QtPlugin>
class QAbstractItemModel;
class QRect;
......
......@@ -26,7 +26,6 @@
#include <kis_types.h>
class KisPaintDevice;
class KoColorSpace;
class KisPainterBenchmark : public QObject
......
......@@ -25,7 +25,6 @@
#include <kis_painter.h>
#include <kis_paint_information.h>
class KisPaintDevice;
class KoColorSpace;
const QString PRESET_FILE_NAME = "hairy-benchmark1.kpp";
......
......@@ -30,7 +30,6 @@
#include <kis_paintop_preset.h>
#include <kis_smoothing_options.h>
class KisViewManager;
struct ViewModeSynchronisationObject {
ViewModeSynchronisationObject() : initialized(false), gridData(0) { }
......
......@@ -29,7 +29,6 @@
class QDomDocument;
class QDomElement;
class KisPaintOp;
class KisDistanceInformation;
/**
......
......@@ -32,8 +32,6 @@
class QPointF;
class KoColorSpace;
class KoInputDevice;
class KoPointerEvent;
class KisPainter;
class KisPaintInformation;
......
......@@ -26,10 +26,8 @@
#include <QStringList>
#include <kis_threaded_text_rendering_workaround.h>
class KoColorSpace;
class KisPainter;
class KisPaintOp;
class KoInputDevice;
class QWidget;
class KisPaintOpSettingsWidget;
......
......@@ -26,7 +26,6 @@
#include "kis_shared.h"
#include "krita_export.h"
class QImage;
/**
* A KisPaintOpPreset contains a particular set of settings
......
......@@ -32,12 +32,9 @@
#include <krita_export.h>
class QWidget;
class KisPaintOp;
class KisPainter;
class KoColorSpace;
class KoInputDevice;
/**
* Manages the loading and creating of all paintop plugins.
......
......@@ -30,8 +30,6 @@
#include "kis_paint_information.h"
class KoPointerEvent;
class KoViewConverter;
class KisPaintOpSettingsWidget;
/**
......
......@@ -23,7 +23,6 @@
class KisSerializableConfiguration;
class KisSerializableConfigurationFactory;
class KoID;
class QString;
class KLocalizedString;
......
......@@ -23,8 +23,6 @@
#include "kis_mask_generator.h"
class QDomElement;
class QDomDocument;
/**
* Create, serialize and deserialize an elliptical 8-bit mask.
......
......@@ -25,7 +25,6 @@
#include "kis_image.h"
#include "krita_export.h"
class QImage;
template<class factory> class KisConvolutionWorker;
......
......@@ -28,8 +28,6 @@
class QString;
class QIcon;
class QDomDocument;
class QDomElement;
class KUndo2Command;
/**
......
......@@ -24,8 +24,6 @@
#include "kis_mask_generator.h"
class QDomElement;
class QDomDocument;
/**
* This mask generator uses a Gaussian-blurred circle
......
......@@ -24,8 +24,6 @@
#include "kis_mask_generator.h"
class QDomElement;
class QDomDocument;
/**
* This mask generator uses a Gaussian-blurred rectangle
......
......@@ -28,7 +28,6 @@
#include <krita_export.h>
class KoAbstractGradient;
/**
* XXX: Docs!
......
......@@ -36,10 +36,8 @@
template <class T>
class QStack;
class QIcon;
class QBitArray;
class KisCloneLayer;
class KisNodeVisitor;
namespace KisMetaData
{
......
......@@ -19,8 +19,6 @@
#ifndef _KIS_MEMORY_LEAK_TRACKER_H_
#define _KIS_MEMORY_LEAK_TRACKER_H_
class QObject;
class KisSharedData;
#include <krita_export.h>
......
......@@ -42,15 +42,11 @@ class QString;
class QColor;
class QIODevice;
class KoStore;
class KoColor;
class KoColorSpace;
class KoColorProfile;
class KisHLineIteratorNG;
class KisRandomSubAccessorPixel;
class KisDataManager;
class KisSelectionComponent;
class KisPaintDeviceWriter;
typedef KisSharedPtr<KisDataManager> KisDataManagerSP;
......
......@@ -39,7 +39,6 @@ class QPen;
class KUndo2Command;
class QRect;
class QRectF;
class QStringList;
class QBitArray;
class QPainterPath;
......
......@@ -21,8 +21,6 @@
#include "krita_export.h"
class QDomElement;
class QDomDocument;
#include "kis_mask_generator.h"
......
......@@ -28,7 +28,6 @@
#include <krita_export.h>
#include "kis_node_filter_interface.h"
class KisNodeVisitor;
class KisFilterConfiguration;
/**
......
......@@ -25,7 +25,6 @@
class QRect;
class KUndo2Command;
class KisSelection;
class KisPixelSelection;
#include "kis_types.h"
......
......@@ -28,7 +28,6 @@
#include "commands_new/kis_saved_commands.h"
class QString;
class KisStrokeJob;
class KisPostExecutionUndoAdapter;
......
......@@ -29,7 +29,6 @@
class KisPaintDevice;
class KisFilterStrategy;
class KisSelection;
class QTransform;
class KRITAIMAGE_EXPORT KisTransformWorker
......
......@@ -27,7 +27,6 @@ class QVariant;
namespace KisMetaData
{
class Schema;
struct Rational {
explicit Rational(qint32 n = 0, qint32 d = 1) : numerator(n), denominator(d) {}
......
......@@ -26,7 +26,6 @@
#include "kis_serializable_configuration.h"
#include "kis_types.h"
class KisPlayInfo;
class KisRecordedAction;
class KisRecordedActionLoadContext;
class KisRecordedActionSaveContext;
......
......@@ -23,7 +23,6 @@
class KoAbstractGradient;
class KoPattern;
class QString;
class KRITAIMAGE_EXPORT KisRecordedActionSaveContext {
public:
......
......@@ -25,7 +25,6 @@
class QString;
class KisFilterConfiguration;
class QRect;
/**
* Action representing a filter.
......
......@@ -23,7 +23,6 @@
#include "kis_types.h"
#include "kis_painter.h"
class KisPaintInformation;
class KisPainter;
class KoColor;
......
......@@ -31,7 +31,6 @@
#include "kis_memento_manager.h"
class KisTile;
class KisTiledDataManager;
class KisMemento;
typedef KisSharedPtr<KisMemento> KisMementoSP;
......
......@@ -34,7 +34,6 @@ class KisQImagemask;
typedef KisSharedPtr<KisQImagemask> KisQImagemaskSP;
class QString;
class QPoint;
class QIODevice;
......
......@@ -33,7 +33,6 @@
#include "kis_paint_information.h"
class QString;
class QPoint;
class QIODevice;
class KisAbrBrush;
......
......@@ -38,8 +38,6 @@ class KoColorSpace;
class KisPaintInformation;
class KisBoundary;
class KisQImageSP;
class KisScaledBrush;
enum enumBrushType {
INVALID,
......@@ -73,7 +71,6 @@ typedef KisSharedPtr<KisBrush> KisBrushSP;
class BRUSH_EXPORT KisBrush : public KoResource, public KisShared
{
class ScaledBrush;
public:
class ColoringInformation
......
......@@ -29,7 +29,6 @@
#include "kis_brush.h"
#include "kis_brush_factory.h"
class QString;
class QDomElement;
class BRUSH_EXPORT KisBrushRegistry : public QObject, public KoGenericRegistry<KisBrushFactory*>
......
......@@ -34,7 +34,6 @@ class KisQImagemask;
typedef KisSharedPtr<KisQImagemask> KisQImagemaskSP;
class QString;
class QPoint;
class QIODevice;
class BRUSH_EXPORT KisGbrBrush : public KisBrush
......
......@@ -27,7 +27,6 @@
#include "kis_gbr_brush.h"
#include "kis_global.h"
class QImage;
/**
* Velocity won't be supported, atm Tilt isn't either,
......
......@@ -25,9 +25,7 @@
#include <KoIcon.h>
class RulerDecoration;
class KisCanvas2;
class ConstraintSolver;
class KisRulerAssistantTool : public KisTool
{
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisView;
class RulerAssistantToolPlugin : public QObject
{
......
......@@ -22,7 +22,6 @@
#include <QObject>
#include <QVariant>
class KisColorSelectorSettings;
/**
* Template of view plugin
......
......@@ -23,7 +23,6 @@
#include "KoColor.h"
class KoColor;
class KisCanvas2;
class KisColorPatches : public KisColorSelectorBase
......
......@@ -20,7 +20,6 @@
#include "kis_color_selector_base.h"
class KisColorSelectorTriangle;
class KisColorSelectorRing;
class KisColorSelectorComponent;
class KisColorSelectorSimple;
......
......@@ -24,7 +24,6 @@
#include <kis_canvas2.h>
#include "kis_acs_types.h"
class QColor;
class KoColor;
class QTimer;
class KoColorSpace;
......
......@@ -21,7 +21,6 @@
#include <QComboBox>
#include "kis_color_selector.h"
class KisCanvas2;
class KisColorSelectorComboBoxPrivate;
class KoColorSpace;
......
......@@ -24,9 +24,7 @@
class KoColorSpace;
class QMouseEvent;
class QPainter;
class QResizeEvent;
class KisColorSelectorComponent : public QObject
......
......@@ -27,7 +27,6 @@ namespace Ui {
class KisColorSelectorSettings;
}
class KIcon;
class KisCanvas2;
class KisColorSelectorSettings : public KisPreferenceSet {
Q_OBJECT
......
......@@ -29,7 +29,6 @@
class QPainter;
class QPainter;
class QPolygonF;
class KisColorSelector: public QWidget
{
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Docker showing the channels of the current layer
......
......@@ -24,13 +24,10 @@
#include "kis_canvas2.h"
class KoChannelInfo;
class KoColor;
class QWidget;
class QDoubleSpinBox;
class KisHSVSlider;
class QLabel;
class QGridLayout;
class KisDisplayColorConverter;
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Docker compositions of the image
......
......@@ -24,7 +24,6 @@
#include "ui_wdgcompositiondocker.h"
class CompositionModel;
class QListView;
class KisCanvas2;
class KisAction;
......
......@@ -23,7 +23,6 @@
#include <kis_types.h>
#include <kis_layer_composition.h>
class QAction;
class CompositionModel : public QAbstractTableModel
{
Q_OBJECT
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Template of view plugin
......
......@@ -25,7 +25,6 @@
class KoColorPopupAction;
class KoColorSlider;
class KoColorPatch;
class KisViewManager;
class DigitalMixerDock : public QDockWidget, public KoCanvasObserverBase {
Q_OBJECT
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Template of view plugin
......
......@@ -39,11 +39,6 @@ namespace OCIO = OCIO_NAMESPACE;
class KisCanvas2;
class KisDoubleWidget;
class KoZoomAdapter;
class SqueezedComboBox;
class QCheckBox;
class QToolButton;
class BlackWhitePointChooser;
#include "ocio_display_filter.h"
......
......@@ -27,7 +27,6 @@ class QSpinBox;
class KoColorSet;
class KLineEdit;
class KoResourceItemChooser;
class KisViewManager;
class KoResource;
class ColorSetChooser : public QWidget
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Docker showing the channels of the current layer
......
......@@ -34,7 +34,6 @@ class KisCanvasResourceProvider;
class KisWorkspaceResource;
class ColorSetChooser;
class PaletteModel;
class KisCanvas2;
class Ui_WdgPaletteDock;
class PaletteDockerDock : public QDockWidget, public KisMainwindowObserver, public KoResourceServerObserver<KoColorSet> {
......
......@@ -21,7 +21,6 @@
#include <QObject>
#include <QVariant>
class KisViewManager;
/**
* Template of view plugin
......
......@@ -23,12 +23,9 @@
class KoChannelInfo;
class KoColor;
class QWidget;
class KNumInput;
class QSpinBox;
class KDoubleNumInput;
class KoColorSlider;
class QLabel;
class QHBoxLayout;
class QLineEdit;