File indexing completed on 2024-12-22 04:16:47
0001 /* 0002 * tool_dyna.cpp -- Part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2009 Lukáš Tvrdý <lukast.dev@gmail.com> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #include "tool_dyna.h" 0010 0011 #include <stdlib.h> 0012 #include <vector> 0013 0014 #include <QPoint> 0015 0016 #include <klocalizedstring.h> 0017 0018 #include <kis_debug.h> 0019 #include <kis_paint_device.h> 0020 #include <kpluginfactory.h> 0021 0022 #include <kis_global.h> 0023 #include <kis_types.h> 0024 #include <KoToolRegistry.h> 0025 0026 0027 #include "kis_tool_dyna.h" 0028 0029 K_PLUGIN_FACTORY_WITH_JSON(ToolDynaFactory, "kritatooldyna.json", registerPlugin<ToolDyna>();) 0030 0031 0032 ToolDyna::ToolDyna(QObject *parent, const QVariantList &) 0033 : QObject(parent) 0034 { 0035 KoToolRegistry::instance()->add(new KisToolDynaFactory()); 0036 } 0037 0038 ToolDyna::~ToolDyna() 0039 { 0040 } 0041 0042 #include "tool_dyna.moc"