Krita Source Code Documentation
Loading...
Searching...
No Matches
ImageShapePlugin.cpp
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
*
3
* SPDX-FileCopyrightText: 2009 Inge Wallin <inge@lysator.liu.se>
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
8
#include "
ImageShapePlugin.h
"
9
10
#include <kpluginfactory.h>
11
12
#include <
KoShapeRegistry.h
>
13
14
#include "
ImageShapeFactory.h
"
15
16
K_PLUGIN_FACTORY_WITH_JSON
(ImageShapePluginFactory,
"krita_shape_image.json"
, registerPlugin<ImageShapePlugin>();)
17
18
ImageShapePlugin::ImageShapePlugin
(QObject *parent,
const
QVariantList &)
19
: QObject(parent)
20
{
21
KoShapeRegistry::instance
()->
add
(
new
ImageShapeFactory
());
22
}
23
24
#include <ImageShapePlugin.moc>
ImageShapeFactory.h
ImageShapePlugin.h
KoShapeRegistry.h
ImageShapeFactory
Definition
ImageShapeFactory.h:17
ImageShapePlugin::ImageShapePlugin
ImageShapePlugin(QObject *parent, const QVariantList &)
Definition
ImageShapePlugin.cpp:18
KoGenericRegistry::add
void add(T item)
Definition
KoGenericRegistry.h:64
KoShapeRegistry::instance
static KoShapeRegistry * instance()
Definition
KoShapeRegistry.cpp:81
K_PLUGIN_FACTORY_WITH_JSON
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
Definition
kis_asccdl_filter.cpp:16
plugins
flake
imageshape
ImageShapePlugin.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52