Commit 2eb428c6 authored by Adrian Page's avatar Adrian Page

Build krita with new kdelibs snapshot.


svn path=/trunk/koffice/; revision=539167
parent 3833cfda
......@@ -34,10 +34,9 @@ typedef KGenericFactory<CMYKU16Plugin> CMYKU16PluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_cmyk_u16_plugin, CMYKU16PluginFactory( "krita" ) )
CMYKU16Plugin::CMYKU16Plugin(QObject *parent, const char *name, const QStringList &)
CMYKU16Plugin::CMYKU16Plugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(CMYKU16PluginFactory::instance());
if ( parent->inherits("KisColorSpaceFactoryRegistry") )
......
......@@ -28,7 +28,7 @@ class CMYKU16Plugin : public KParts::Plugin
{
Q_OBJECT
public:
CMYKU16Plugin(QObject *parent, const char *name, const QStringList &);
CMYKU16Plugin(QObject *parent, const QStringList &);
virtual ~CMYKU16Plugin();
};
......
......@@ -35,10 +35,9 @@ typedef KGenericFactory<GRAYU16Plugin> GRAYU16PluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_gray_u16_plugin, GRAYU16PluginFactory( "krita" ) )
GRAYU16Plugin::GRAYU16Plugin(QObject *parent, const char *name, const QStringList &)
GRAYU16Plugin::GRAYU16Plugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(GRAYU16PluginFactory::instance());
if ( parent->inherits("KisColorSpaceFactoryRegistry") )
......
......@@ -28,7 +28,7 @@ class GRAYU16Plugin : public KParts::Plugin
{
Q_OBJECT
public:
GRAYU16Plugin(QObject *parent, const char *name, const QStringList &);
GRAYU16Plugin(QObject *parent, const QStringList &);
virtual ~GRAYU16Plugin();
};
......
......@@ -36,10 +36,9 @@ typedef KGenericFactory<LMSF32Plugin> LMSF32PluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_lms_f32_plugin, LMSF32PluginFactory( "krita" ) )
LMSF32Plugin::LMSF32Plugin(QObject *parent, const char *name, const QStringList &)
LMSF32Plugin::LMSF32Plugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(LMSF32PluginFactory::instance());
if ( parent->inherits("KisColorSpaceFactoryRegistry") )
......
......@@ -30,7 +30,7 @@ class LMSF32Plugin : public KParts::Plugin
{
Q_OBJECT
public:
LMSF32Plugin(QObject *parent, const char *name, const QStringList &);
LMSF32Plugin(QObject *parent, const QStringList &);
virtual ~LMSF32Plugin();
};
......
......@@ -35,10 +35,9 @@ typedef KGenericFactory<RGBF16HalfPlugin> RGBF16HalfPluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_rgb_f16half_plugin, RGBF16HalfPluginFactory( "krita" ) )
RGBF16HalfPlugin::RGBF16HalfPlugin(QObject *parent, const char *name, const QStringList &)
RGBF16HalfPlugin::RGBF16HalfPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(RGBF16HalfPluginFactory::instance());
if ( parent->inherits("KisColorSpaceFactoryRegistry") )
......
......@@ -29,7 +29,7 @@ class RGBF16HalfPlugin : public KParts::Plugin
{
Q_OBJECT
public:
RGBF16HalfPlugin(QObject *parent, const char *name, const QStringList &);
RGBF16HalfPlugin(QObject *parent, const QStringList &);
virtual ~RGBF16HalfPlugin();
};
......
......@@ -65,10 +65,9 @@ typedef KGenericFactory<WetPlugin> WetPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritawetplugin, WetPluginFactory( "kritacore" ) )
WetPlugin::WetPlugin(QObject *parent, const char *name, const QStringList &)
WetPlugin::WetPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(WetPluginFactory::instance());
// This is not a gui plugin; only load it when the doc is created.
......
......@@ -33,7 +33,7 @@ class WetPlugin : public KParts::Plugin
{
Q_OBJECT
public:
WetPlugin(QObject *parent, const char *name, const QStringList &);
WetPlugin(QObject *parent, const QStringList &);
virtual ~WetPlugin();
private:
......
......@@ -69,10 +69,9 @@
typedef KGenericFactory<KritaBumpmap> KritaBumpmapFactory;
K_EXPORT_COMPONENT_FACTORY( kritabumpmap, KritaBumpmapFactory( "krita" ) )
KritaBumpmap::KritaBumpmap(QObject *parent, const char *name, const QStringList &)
KritaBumpmap::KritaBumpmap(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KritaBumpmapFactory::instance());
......
......@@ -54,7 +54,7 @@ using namespace krita;
class KritaBumpmap : public KParts::Plugin
{
public:
KritaBumpmap(QObject *parent, const char *name, const QStringList &);
KritaBumpmap(QObject *parent, const QStringList &);
virtual ~KritaBumpmap();
};
......
......@@ -28,9 +28,8 @@
typedef KGenericFactory<KisCImgPlugin> KisCImgPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritacimg, KisCImgPluginFactory( "krita" ) )
KisCImgPlugin::KisCImgPlugin(QObject *parent, const char *name, const QStringList &) : KParts::Plugin(parent)
KisCImgPlugin::KisCImgPlugin(QObject *parent, const QStringList &) : KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisCImgPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisCImgPlugin : public KParts::Plugin
{
public:
KisCImgPlugin(QObject *parent, const char *name, const QStringList &);
KisCImgPlugin(QObject *parent, const QStringList &);
virtual ~KisCImgPlugin();
};
......
......@@ -54,10 +54,9 @@
typedef KGenericFactory<ColorsFilters> ColorsFiltersFactory;
K_EXPORT_COMPONENT_FACTORY( kritacolorsfilters, ColorsFiltersFactory( "krita" ) )
ColorsFilters::ColorsFilters(QObject *parent, const char *name, const QStringList &)
ColorsFilters::ColorsFilters(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(ColorsFiltersFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......@@ -232,7 +231,7 @@ KisDesaturateFilter::KisDesaturateFilter()
{
m_lastCS = 0;
m_adj = 0;
}
KisDesaturateFilter::~KisDesaturateFilter()
......@@ -257,7 +256,7 @@ void KisDesaturateFilter::process(KisPaintDeviceSP src, KisPaintDeviceSP dst, Ki
m_adj = src->colorSpace()->createDesaturateAdjustment();
m_lastCS = src->colorSpace();
}
KisRectIteratorPixel iter = dst->createRectIterator(rect.x(), rect.y(), rect.width(), rect.height(), true );
setProgressTotalSteps(rect.width() * rect.height());
......
......@@ -29,7 +29,7 @@ class KisColorAdjustment;
class ColorsFilters : public KParts::Plugin
{
public:
ColorsFilters(QObject *parent, const char *name, const QStringList &);
ColorsFilters(QObject *parent, const QStringList &);
virtual ~ColorsFilters();
};
......@@ -59,7 +59,7 @@ class KisDesaturateFilter : public KisFilter {
virtual bool supportsPainting() { return true; }
virtual bool supportsPreview() { return true; }
virtual bool supportsIncrementalPainting() { return false; }
virtual ColorSpaceIndependence colorSpaceIndependence() { return TO_LAB16; };
virtual bool workWith(KisColorSpace* cs);
......
......@@ -60,10 +60,9 @@ KisKernelSP createKernel( qint32 i0, qint32 i1, qint32 i2,
typedef KGenericFactory<KritaConvolutionFilters> KritaConvolutionFiltersFactory;
K_EXPORT_COMPONENT_FACTORY( kritaconvolutionfilters, KritaConvolutionFiltersFactory( "krita" ) )
KritaConvolutionFilters::KritaConvolutionFilters(QObject *parent, const char *name, const QStringList &)
KritaConvolutionFilters::KritaConvolutionFilters(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KritaConvolutionFiltersFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -145,7 +145,7 @@ public:
class KritaConvolutionFilters : public KParts::Plugin
{
public:
KritaConvolutionFilters(QObject *parent, const char *name, const QStringList &);
KritaConvolutionFilters(QObject *parent, const QStringList &);
virtual ~KritaConvolutionFilters();
};
......
......@@ -25,9 +25,8 @@
typedef KGenericFactory<KisEmbossFilterPlugin> KisEmbossFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritaembossfilter, KisEmbossFilterPluginFactory( "krita" ) )
KisEmbossFilterPlugin::KisEmbossFilterPlugin(QObject *parent, const char *name, const QStringList &) : KParts::Plugin(parent)
KisEmbossFilterPlugin::KisEmbossFilterPlugin(QObject *parent, const QStringList &) : KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisEmbossFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -24,7 +24,7 @@
class KisEmbossFilterPlugin : public KParts::Plugin
{
public:
KisEmbossFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisEmbossFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisEmbossFilterPlugin();
};
......
......@@ -44,10 +44,9 @@
typedef KGenericFactory<KritaExample> KritaExampleFactory;
K_EXPORT_COMPONENT_FACTORY( kritaexample, KritaExampleFactory( "krita" ) )
KritaExample::KritaExample(QObject *parent, const char *name, const QStringList &)
KritaExample::KritaExample(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KritaExampleFactory::instance());
......
......@@ -27,7 +27,7 @@
class KritaExample : public KParts::Plugin
{
public:
KritaExample(QObject *parent, const char *name, const QStringList &);
KritaExample(QObject *parent, const QStringList &);
virtual ~KritaExample();
};
......
......@@ -47,10 +47,9 @@
typedef KGenericFactory<KritaImageEnhancement> KritaImageEnhancementFactory;
K_EXPORT_COMPONENT_FACTORY( kritaimageenhancement, KritaImageEnhancementFactory( "krita" ) )
KritaImageEnhancement::KritaImageEnhancement(QObject *parent, const char *name, const QStringList &)
KritaImageEnhancement::KritaImageEnhancement(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KritaImageEnhancementFactory::instance());
kDebug(41006) << "Image enhancement filter plugin. Class: "
......
......@@ -27,7 +27,7 @@
class KritaImageEnhancement : public KParts::Plugin
{
public:
KritaImageEnhancement(QObject *parent, const char *name, const QStringList &);
KritaImageEnhancement(QObject *parent, const QStringList &);
virtual ~KritaImageEnhancement();
};
......
......@@ -26,9 +26,8 @@
typedef KGenericFactory<KisOilPaintFilterPlugin> KisOilPaintFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritaoilpaintfilter, KisOilPaintFilterPluginFactory( "krita" ) )
KisOilPaintFilterPlugin::KisOilPaintFilterPlugin(QObject *parent, const char *name, const QStringList &) : KParts::Plugin(parent)
KisOilPaintFilterPlugin::KisOilPaintFilterPlugin(QObject *parent, const QStringList &) : KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisOilPaintFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisOilPaintFilterPlugin : public KParts::Plugin
{
public:
KisOilPaintFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisOilPaintFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisOilPaintFilterPlugin();
};
......
......@@ -26,10 +26,9 @@
typedef KGenericFactory<KisPixelizeFilterPlugin> KisPixelizeFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritapixelizefilter, KisPixelizeFilterPluginFactory( "krita" ) )
KisPixelizeFilterPlugin::KisPixelizeFilterPlugin(QObject *parent, const char *name, const QStringList &)
KisPixelizeFilterPlugin::KisPixelizeFilterPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisPixelizeFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisPixelizeFilterPlugin : public KParts::Plugin
{
public:
KisPixelizeFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisPixelizeFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisPixelizeFilterPlugin();
};
......
......@@ -29,9 +29,8 @@
typedef KGenericFactory<KisRainDropsFilterPlugin> KisRainDropsFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritaraindropsfilter, KisRainDropsFilterPluginFactory( "krita" ) )
KisRainDropsFilterPlugin::KisRainDropsFilterPlugin(QObject *parent, const char *name, const QStringList &) : KParts::Plugin(parent)
KisRainDropsFilterPlugin::KisRainDropsFilterPlugin(QObject *parent, const QStringList &) : KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisRainDropsFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -26,7 +26,7 @@
class KisRainDropsFilterPlugin : public KParts::Plugin
{
public:
KisRainDropsFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisRainDropsFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisRainDropsFilterPlugin();
};
......
......@@ -26,10 +26,9 @@
typedef KGenericFactory<KisRoundCornersFilterPlugin> KisRoundCornersFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritaroundcornersfilter, KisRoundCornersFilterPluginFactory( "krita" ) )
KisRoundCornersFilterPlugin::KisRoundCornersFilterPlugin(QObject *parent, const char *name, const QStringList &)
KisRoundCornersFilterPlugin::KisRoundCornersFilterPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisRoundCornersFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisRoundCornersFilterPlugin : public KParts::Plugin
{
public:
KisRoundCornersFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisRoundCornersFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisRoundCornersFilterPlugin();
};
......
......@@ -26,10 +26,9 @@
typedef KGenericFactory<KisSmallTilesFilterPlugin> KisSmallTilesFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritasmalltilesfilter, KisSmallTilesFilterPluginFactory( "krita" ) )
KisSmallTilesFilterPlugin::KisSmallTilesFilterPlugin(QObject *parent, const char *name, const QStringList &)
KisSmallTilesFilterPlugin::KisSmallTilesFilterPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisSmallTilesFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisSmallTilesFilterPlugin : public KParts::Plugin
{
public:
KisSmallTilesFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisSmallTilesFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisSmallTilesFilterPlugin();
};
......
......@@ -26,10 +26,9 @@
typedef KGenericFactory<KisSobelFilterPlugin> KisSobelFilterPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritasobelfilter, KisSobelFilterPluginFactory( "krita" ) )
KisSobelFilterPlugin::KisSobelFilterPlugin(QObject *parent, const char *name, const QStringList &)
KisSobelFilterPlugin::KisSobelFilterPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(KisSobelFilterPluginFactory::instance());
if (parent->inherits("KisFilterRegistry")) {
......
......@@ -25,7 +25,7 @@
class KisSobelFilterPlugin : public KParts::Plugin
{
public:
KisSobelFilterPlugin(QObject *parent, const char *name, const QStringList &);
KisSobelFilterPlugin(QObject *parent, const QStringList &);
virtual ~KisSobelFilterPlugin();
};
......
......@@ -41,11 +41,9 @@ typedef KGenericFactory<DefaultPaintOpsPlugin> DefaultPaintOpsPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritadefaultpaintops, DefaultPaintOpsPluginFactory( "kritacore" ) )
DefaultPaintOpsPlugin::DefaultPaintOpsPlugin(QObject *parent, const char *name, const QStringList &)
DefaultPaintOpsPlugin::DefaultPaintOpsPlugin(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(DefaultPaintOpsPluginFactory::instance());
// This is not a gui plugin; only load it when the doc is created.
......
......@@ -28,7 +28,7 @@ class DefaultPaintOpsPlugin : public KParts::Plugin
{
Q_OBJECT
public:
DefaultPaintOpsPlugin(QObject *parent, const char *name, const QStringList &);
DefaultPaintOpsPlugin(QObject *parent, const QStringList &);
virtual ~DefaultPaintOpsPlugin();
};
......
......@@ -33,10 +33,9 @@
typedef KGenericFactory<SmearyBrush> SmearyBrushFactory;
K_EXPORT_COMPONENT_FACTORY(kritasmearybrush, SmearyBrushFactory("kritacore"))
SmearyBrush::SmearyBrush(QObject *parent, const char *name, const QStringList &)
SmearyBrush::SmearyBrush(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(SmearyBrushFactory::instance());
// This is not a gui plugin; only load it when the doc is created.
......
......@@ -28,7 +28,7 @@ class SmearyBrush : public KParts::Plugin
{
Q_OBJECT
public:
SmearyBrush(QObject *parent, const char *name, const QStringList &);
SmearyBrush(QObject *parent, const QStringList &);
virtual ~SmearyBrush();
};
......
......@@ -56,10 +56,9 @@ typedef KGenericFactory<DefaultTools> DefaultToolsFactory;
K_EXPORT_COMPONENT_FACTORY( kritadefaulttools, DefaultToolsFactory( "krita" ) )
DefaultTools::DefaultTools(QObject *parent, const char *name, const QStringList &)
DefaultTools::DefaultTools(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(DefaultToolsFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -35,7 +35,7 @@ class DefaultTools : public KParts::Plugin
{
Q_OBJECT
public:
DefaultTools(QObject *parent, const char *name, const QStringList &);
DefaultTools(QObject *parent, const QStringList &);
virtual ~DefaultTools();
};
......
......@@ -50,10 +50,9 @@ typedef KGenericFactory<SelectionTools> SelectionToolsFactory;
K_EXPORT_COMPONENT_FACTORY( kritaselectiontools, SelectionToolsFactory( "krita" ) )
SelectionTools::SelectionTools(QObject *parent, const char *name, const QStringList &)
SelectionTools::SelectionTools(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(SelectionToolsFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -35,7 +35,7 @@ class SelectionTools : public KParts::Plugin
{
Q_OBJECT
public:
SelectionTools(QObject *parent, const char *name, const QStringList &);
SelectionTools(QObject *parent, const QStringList &);
virtual ~SelectionTools();
};
......
......@@ -42,10 +42,9 @@ typedef KGenericFactory<ToolCrop> ToolCropFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolcrop, ToolCropFactory( "krita" ) )
ToolCrop::ToolCrop(QObject *parent, const char *name, const QStringList &)
ToolCrop::ToolCrop(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(ToolCropFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -30,7 +30,7 @@ class ToolCrop : public KParts::Plugin
{
Q_OBJECT
public:
ToolCrop(QObject *parent, const char *name, const QStringList &);
ToolCrop(QObject *parent, const QStringList &);
virtual ~ToolCrop();
private:
......
......@@ -44,10 +44,9 @@ typedef KGenericFactory<ToolFilter> ToolFilterFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolfilter, ToolFilterFactory( "krita" ) )
ToolFilter::ToolFilter(QObject *parent, const char *name, const QStringList &)
ToolFilter::ToolFilter(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(ToolFilterFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -30,7 +30,7 @@ class ToolFilter : public KParts::Plugin
{
Q_OBJECT
public:
ToolFilter(QObject *parent, const char *name, const QStringList &);
ToolFilter(QObject *parent, const QStringList &);
virtual ~ToolFilter();
private:
......
......@@ -42,10 +42,9 @@ typedef KGenericFactory<ToolPolygon> ToolPolygonFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolpolygon, ToolPolygonFactory( "krita" ) )
ToolPolygon::ToolPolygon(QObject *parent, const char *name, const QStringList &)
ToolPolygon::ToolPolygon(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(ToolPolygonFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -30,7 +30,7 @@ class ToolPolygon : public KParts::Plugin
public:
ToolPolygon(QObject *parent, const char *name, const QStringList &);
ToolPolygon(QObject *parent, const QStringList &);
virtual ~ToolPolygon();
};
......
......@@ -43,10 +43,9 @@ typedef KGenericFactory<ToolPolyline> ToolPolylineFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolpolyline, ToolPolylineFactory( "krita" ) )
ToolPolyline::ToolPolyline(QObject *parent, const char *name, const QStringList &)
ToolPolyline::ToolPolyline(QObject *parent, const QStringList &)
: KParts::Plugin(parent)
{
setObjectName(name);
setInstance(ToolPolylineFactory::instance());
if ( parent->inherits("KisToolRegistry") )
......
......@@ -30,7 +30,7 @@ class ToolPolyline : public KParts::Plugin
{
Q_OBJECT
public:
ToolPolyline(QObject *parent, const char *name, const QStringList &);
ToolPolyline(QObject *parent, const QStringList &);
virtual ~ToolPolyline();
private:
......
......@@ -41,10 +41,9 @@
typedef KGenericFactory<SelectSimilar> SelectSimilarFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolselectsimilar, SelectSimilarFactory( "krita" ) )
SelectSimilar::SelectSimilar(QObject *parent, const char *name, const QStringList &)
SelectSimilar::SelectSimilar(QObject *parent, const QStringList &)
: KParts::Plugin(parent)