File indexing completed on 2024-12-22 04:15:26
0001 /* This file is part of the KDE project 0002 * 0003 * SPDX-FileCopyrightText: 2009 Inge Wallin <inge@lysator.liu.se> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #include "ImageShapePlugin.h" 0009 0010 #include <kpluginfactory.h> 0011 0012 #include <KoShapeRegistry.h> 0013 0014 #include "ImageShapeFactory.h" 0015 0016 K_PLUGIN_FACTORY_WITH_JSON(ImageShapePluginFactory, "krita_shape_image.json", registerPlugin<ImageShapePlugin>();) 0017 0018 ImageShapePlugin::ImageShapePlugin(QObject *parent, const QVariantList &) 0019 : QObject(parent) 0020 { 0021 KoShapeRegistry::instance()->add(new ImageShapeFactory()); 0022 } 0023 0024 #include <ImageShapePlugin.moc>