Commit f1fdff1b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Move KoResourceSelector to the only place where it's used

In a tool that is disable by default but which we keep because
it's the starting point for support filter effects in our vector
layers.
parent dd2df3f0
......@@ -44,7 +44,6 @@
#include <kis_icon.h>
#include <KoColorSpace.h>
#include <KoCompositeOpRegistry.h>
#include <KoResourceSelector.h>
#include <KoResourceServerAdapter.h>
#include <KoToolManager.h>
#include <KoColorSpaceRegistry.h>
......
......@@ -37,7 +37,6 @@
#include <KoColorPopupAction.h>
#include "KoResourceServerProvider.h"
#include "KoResourceServerAdapter.h"
#include "KoResourceSelector.h"
#include <KoSelection.h>
#include <KoCanvasBase.h>
#include <KoCanvasResourceProvider.h>
......
......@@ -33,7 +33,6 @@ set(kritawidgets_LIB_SRCS
KoIconToolTip.cpp
KoResourceItemChooser.cpp
KoResourceItemChooserSync.cpp
KoResourceSelector.cpp
KoResourceModel.cpp
KoResourceItemDelegate.cpp
KoResourceItemView.cpp
......
......@@ -23,8 +23,10 @@
#include <QAbstractItemDelegate>
#include "KoCheckerBoardPainter.h"
#include "kritawidgets_export.h"
/// The resource item delegate for rendering the resource preview
class KoResourceItemDelegate : public QAbstractItemDelegate
class KRITAWIDGETS_EXPORT KoResourceItemDelegate : public QAbstractItemDelegate
{
public:
explicit KoResourceItemDelegate(QObject *parent = 0);
......
......@@ -29,8 +29,10 @@
class QEvent;
class QModelIndex;
#include "kritawidgets_export.h"
/// The resource view
class KoResourceItemView : public KoTableView
class KRITAWIDGETS_EXPORT KoResourceItemView : public KoTableView
{
Q_OBJECT
......
......@@ -29,7 +29,8 @@ set(karbon_tools_SOURCES
filterEffectTool/FilterEffectResource.cpp
filterEffectTool/FilterResourceServerProvider.cpp
filterEffectTool/FilterRegionEditStrategy.cpp
KarbonPatternOptionsWidget.cpp
filterEffectTool/KoResourceSelector.cpp
KarbonPatternOptionsWidget.cpp
)
ki18n_wrap_ui(karbon_tools_SOURCES
......
......@@ -20,7 +20,6 @@
#ifndef KORESOURCESELECTOR_H
#define KORESOURCESELECTOR_H
#include "kritawidgets_export.h"
#include <QComboBox>
class QMouseEvent;
......@@ -30,7 +29,7 @@ class KoResource;
/**
* A custom combobox widget for selecting resource items like gradients or patterns.
*/
class KRITAWIDGETS_EXPORT KoResourceSelector : public QComboBox
class KoResourceSelector : public QComboBox
{
Q_OBJECT
public:
......
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