Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeRegistry.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2006 Boudewijn Rempt (boud@valdyas.org)
3
* SPDX-FileCopyrightText: 2006, 2010 Thomas Zander <zander@kde.org>
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
8
#ifndef KOSHAPEREGISTRY_H
9
#define KOSHAPEREGISTRY_H
10
11
#include <
KoGenericRegistry.h
>
12
#include <
KoShapeFactoryBase.h
>
13
#include <QDomDocument>
14
15
#include "kritaflake_export.h"
16
17
class
KoShape
;
18
class
KoShapeLoadingContext
;
19
20
26
class
KRITAFLAKE_EXPORT
KoShapeRegistry
:
public
KoGenericRegistry
<KoShapeFactoryBase*>
27
{
28
public
:
29
KoShapeRegistry
();
30
~KoShapeRegistry
()
override
;
31
36
static
KoShapeRegistry
*
instance
();
37
44
void
addFactory
(
KoShapeFactoryBase
*factory);
45
52
QList<KoShapeFactoryBase*>
factoriesForElement(
const
QString &nameSpace,
const
QString &elementName);
53
54
private
:
55
KoShapeRegistry
(
const
KoShapeRegistry
&);
56
KoShapeRegistry
operator=
(
const
KoShapeRegistry
&);
57
58
class
Private
;
59
Private
*
const
d
;
60
};
61
62
#endif
KoGenericRegistry.h
KoShapeFactoryBase.h
instance
PythonPluginManager * instance
Definition
PythonPluginManager.cpp:37
KoGenericRegistry
Definition
KoGenericRegistry.h:47
KoShapeFactoryBase
Definition
KoShapeFactoryBase.cpp:32
KoShapeLoadingContext
Definition
KoShapeLoadingContext.cpp:30
KoShapeRegistry
Definition
KoShapeRegistry.cpp:35
KoShapeRegistry::operator=
KoShapeRegistry operator=(const KoShapeRegistry &)
KoShapeRegistry::KoShapeRegistry
KoShapeRegistry(const KoShapeRegistry &)
KoShapeRegistry::d
Private *const d
Definition
KoShapeRegistry.h:59
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
Private
Definition
SvgTransformParser.cpp:20
detail::addFactory
addFactory(MyPaintPressureId, 0, 20, "", "", "")
libs
flake
KoShapeRegistry.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52