File indexing completed on 2024-12-22 04:16:49
0001 /* 0002 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "tool_lazybrush.h" 0008 #include <QStringList> 0009 0010 #include <kis_debug.h> 0011 #include <kpluginfactory.h> 0012 0013 #include <kis_tool.h> 0014 #include <KoToolRegistry.h> 0015 0016 #include "kis_paint_device.h" 0017 #include "kis_tool_lazy_brush.h" 0018 0019 0020 K_PLUGIN_FACTORY_WITH_JSON(DefaultToolsFactory, "kritatoollazybrush.json", registerPlugin<ToolLazyBrush>();) 0021 0022 0023 ToolLazyBrush::ToolLazyBrush(QObject *parent, const QVariantList &) 0024 : QObject(parent) 0025 { 0026 KoToolRegistry::instance()->add(new KisToolLazyBrushFactory()); 0027 } 0028 0029 ToolLazyBrush::~ToolLazyBrush() 0030 { 0031 } 0032 0033 #include "tool_lazybrush.moc"