File indexing completed on 2024-12-22 04:15:14

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 "blur.h"
0010 #include <kpluginfactory.h>
0011 
0012 #include "kis_blur_filter.h"
0013 #include "kis_gaussian_blur_filter.h"
0014 #include "kis_motion_blur_filter.h"
0015 #include "kis_lens_blur_filter.h"
0016 #include "filter/kis_filter_registry.h"
0017 
0018 K_PLUGIN_FACTORY_WITH_JSON(BlurFilterPluginFactory, "kritablurfilter.json", registerPlugin<BlurFilterPlugin>();)
0019 
0020 BlurFilterPlugin::BlurFilterPlugin(QObject *parent, const QVariantList &)
0021         : QObject(parent)
0022 {
0023     KisFilterRegistry::instance()->add(new KisBlurFilter());
0024     KisFilterRegistry::instance()->add(new KisGaussianBlurFilter());
0025     KisFilterRegistry::instance()->add(new KisMotionBlurFilter());
0026     KisFilterRegistry::instance()->add(new KisLensBlurFilter());
0027 
0028 }
0029 
0030 BlurFilterPlugin::~BlurFilterPlugin()
0031 {
0032 }
0033 
0034 #include "blur.moc"
0035