Commit 950160bd authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove unused KisAbstractCanvasWidgetFactory/KisQPainterCanvasWidgetFactory

parent 02638dd8
......@@ -50,7 +50,6 @@ set(kritaui_LIB_SRCS
canvas/kis_update_info.cpp
canvas/kis_image_patch.cpp
canvas/kis_image_pyramid.cpp
canvas/kis_qpainter_canvas_widget_factory.cpp
canvas/kis_infinity_manager.cpp
canvas/kis_animation_player.cpp
dialogs/kis_about_application.cpp
......
/* This file is part of the KDE project
*
* Copyright (c) 2012 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef KIS_ABSTRACT_CANVAS_WIDGET_FACTORY_H
#define KIS_ABSTRACT_CANVAS_WIDGET_FACTORY_H
class QWidget;
class KisCanvas2;
class KisCoordinatesConverter;
class KisCanvasWidgetBase;
class KisAbstractCanvasWidgetFactory
{
public:
virtual ~KisAbstractCanvasWidgetFactory() { }
virtual KisCanvasWidgetBase *create(KisCanvas2 *canvas, KisCoordinatesConverter *converter, QWidget *parent) = 0;
};
#endif // KIS_ABSTRACT_CANVAS_WIDGET_FACTORY_H
/* This file is part of the KDE project
*
* Copyright (c) 2012 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include "kis_qpainter_canvas_widget_factory.h"
#include "kis_qpainter_canvas.h"
KisCanvasWidgetBase* KisQPainterCanvasWidgetFactory::create(KisCanvas2* canvas, KisCoordinatesConverter* converter, QWidget* parent)
{
KisCanvasWidgetBase *widget = new KisQPainterCanvas(canvas, converter, parent);
return widget;
}
/* This file is part of the KDE project
*
* Copyright (c) 2012 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef KISQPAINTERCANVASWIDGETFACTORY_H
#define KISQPAINTERCANVASWIDGETFACTORY_H
#include "kis_abstract_canvas_widget_factory.h"
class KisQPainterCanvasWidgetFactory : public KisAbstractCanvasWidgetFactory
{
public:
virtual KisCanvasWidgetBase* create(KisCanvas2* canvas, KisCoordinatesConverter* converter, QWidget* parent);
};
#endif // KISQPAINTERCANVASWIDGETFACTORY_H
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