Krita Source Code Documentation
Loading...
Searching...
No Matches
tool_lazybrush.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#include "
tool_lazybrush.h
"
8
9
#include <
kis_debug.h
>
10
#include <kpluginfactory.h>
11
12
#include <
kis_tool.h
>
13
#include <
KoToolRegistry.h
>
14
15
#include "
kis_paint_device.h
"
16
#include "
kis_tool_lazy_brush.h
"
17
18
19
K_PLUGIN_FACTORY_WITH_JSON
(DefaultToolsFactory,
"kritatoollazybrush.json"
, registerPlugin<ToolLazyBrush>();)
20
21
22
ToolLazyBrush::ToolLazyBrush
(QObject *parent,
const
QVariantList &)
23
: QObject(parent)
24
{
25
KoToolRegistry::instance
()->
add
(
new
KisToolLazyBrushFactory
());
26
}
27
28
ToolLazyBrush::~ToolLazyBrush
()
29
{
30
}
31
32
#include "tool_lazybrush.moc"
KoToolRegistry.h
KisToolLazyBrushFactory
Definition
kis_tool_lazy_brush.h:78
KoGenericRegistry::add
void add(T item)
Definition
KoGenericRegistry.h:64
KoToolRegistry::instance
static KoToolRegistry * instance()
Definition
KoToolRegistry.cpp:55
ToolLazyBrush::ToolLazyBrush
ToolLazyBrush(QObject *parent, const QVariantList &)
Definition
tool_lazybrush.cpp:22
ToolLazyBrush::~ToolLazyBrush
~ToolLazyBrush() override
Definition
tool_lazybrush.cpp:28
K_PLUGIN_FACTORY_WITH_JSON
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
Definition
kis_asccdl_filter.cpp:16
kis_debug.h
kis_paint_device.h
kis_tool.h
kis_tool_lazy_brush.h
tool_lazybrush.h
plugins
tools
tool_lazybrush
tool_lazybrush.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52