Krita Source Code Documentation
Loading...
Searching...
No Matches
KisScreentoneGeneratorPlugin.cpp
Go to the documentation of this file.
1
/*
2
* KDE. Krita Project.
3
*
4
* SPDX-FileCopyrightText: 2021 Deif Lou <ginoba@gmail.com>
5
*
6
* SPDX-License-Identifier: GPL-2.0-or-later
7
*/
8
9
#include <kpluginfactory.h>
10
#include <
generator/kis_generator_registry.h
>
11
12
#include "
KisScreentoneGenerator.h
"
13
#include "
KisScreentoneGeneratorPlugin.h
"
14
15
K_PLUGIN_FACTORY_WITH_JSON
(KritaScreentoneGeneratorFactory,
"KritaScreentoneGenerator.json"
, registerPlugin<KisScreentoneGeneratorPlugin>();)
16
17
KisScreentoneGeneratorPlugin::KisScreentoneGeneratorPlugin
(QObject *parent,
const
QVariantList &)
18
: QObject(parent)
19
{
20
KisGeneratorRegistry::instance
()->
add
(
new
KisScreentoneGenerator
());
21
}
22
23
KisScreentoneGeneratorPlugin::~KisScreentoneGeneratorPlugin
()
24
{
25
}
26
27
#include "KisScreentoneGeneratorPlugin.moc"
KisScreentoneGeneratorPlugin.h
KisScreentoneGenerator.h
KisGeneratorRegistry::instance
static KisGeneratorRegistry * instance()
Definition
kis_generator_registry.cpp:38
KisGeneratorRegistry::add
void add(KisGeneratorSP item)
Definition
kis_generator_registry.cpp:49
KisScreentoneGeneratorPlugin::~KisScreentoneGeneratorPlugin
~KisScreentoneGeneratorPlugin() override
Definition
KisScreentoneGeneratorPlugin.cpp:23
KisScreentoneGeneratorPlugin::KisScreentoneGeneratorPlugin
KisScreentoneGeneratorPlugin(QObject *parent, const QVariantList &)
Definition
KisScreentoneGeneratorPlugin.cpp:17
KisScreentoneGenerator
Definition
KisScreentoneGenerator.h:20
K_PLUGIN_FACTORY_WITH_JSON
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
Definition
kis_asccdl_filter.cpp:16
kis_generator_registry.h
plugins
generators
screentone
KisScreentoneGeneratorPlugin.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52