File indexing completed on 2024-12-22 04:16:47
0001 /* 0002 * tool_crop.cc -- Part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2004 Boudewijn Rempt (boud@valdyas.org) 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #include "tool_crop.h" 0010 #include "kis_tool_crop.h" 0011 0012 #include <stdlib.h> 0013 #include <vector> 0014 0015 #include <QPoint> 0016 0017 #include <klocalizedstring.h> 0018 #include <ksharedconfig.h> 0019 0020 #include <kis_debug.h> 0021 #include <kpluginfactory.h> 0022 0023 #include <kis_global.h> 0024 #include <kis_types.h> 0025 #include <KoToolRegistry.h> 0026 0027 K_PLUGIN_FACTORY_WITH_JSON(ToolCropFactory, "kritatoolcrop.json", registerPlugin<ToolCrop>();) 0028 0029 0030 ToolCrop::ToolCrop(QObject *parent, const QVariantList &) 0031 : QObject(parent) 0032 { 0033 KoToolRegistry::instance()->add(new KisToolCropFactory()); 0034 } 0035 0036 ToolCrop::~ToolCrop() 0037 { 0038 } 0039 0040 #include "tool_crop.moc"