File indexing completed on 2024-12-22 04:15:26
0001 /* 0002 * This file is part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2006 Cyrille Berger <cberger@cberger.net> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #include "unsharp.h" 0010 #include <kpluginfactory.h> 0011 0012 #include "kis_unsharp_filter.h" 0013 0014 #include <filter/kis_filter_registry.h> 0015 0016 K_PLUGIN_FACTORY_WITH_JSON(UnsharpPluginFactory, "kritaunsharpfilter.json", registerPlugin<UnsharpPlugin>();) 0017 0018 UnsharpPlugin::UnsharpPlugin(QObject *parent, const QVariantList &) 0019 : QObject(parent) 0020 { 0021 KisFilterRegistry::instance()->add(new KisUnsharpFilter()); 0022 0023 } 0024 0025 UnsharpPlugin::~UnsharpPlugin() 0026 { 0027 } 0028 0029 #include "unsharp.moc"