Krita Source Code Documentation
Loading...
Searching...
No Matches
Plugin.cpp
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * SPDX-FileCopyrightText: 2017 Boudewijn Rempt <boud@valdyas.org>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7#include "Plugin.h"
8
9#include <kpluginfactory.h>
10
11#include <QQmlEngine>
12
13#include <KoShapeRegistry.h>
14#include <KoToolRegistry.h>
15
17#include "SvgTextToolFactory.h"
18
22
23K_PLUGIN_FACTORY_WITH_JSON(PluginFactory, "krita_tool_svgtext.json", registerPlugin<Plugin>();)
24
26 qmlRegisterType<GlyphPaletteProxyModel>("org.krita.tools.text", 1, 0, "GlyphPaletteProxyModel");
27
28 qmlRegisterType<SvgTextToolOptionsModel>("org.krita.tools.text", 1, 0, "SvgTextToolOptionsModel");
29 qmlRegisterType<SvgTextToolOptionsManager>("org.krita.tools.text", 1, 0, "SvgTextToolOptionsManager");
30}
31Plugin::Plugin(QObject *parent, const QVariantList &)
32 : QObject(parent)
33{
35}
36
37#include <Plugin.moc>
38
static KoToolRegistry * instance()
Plugin(QObject *parent, const QVariantList &)
Definition Plugin.cpp:16
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
ChildIterator< value_type, is_const > parent(const ChildIterator< value_type, is_const > &it)
Definition KisForest.h:327
KIS_DECLARE_STATIC_INITIALIZER
Definition Plugin.cpp:25
qmlRegisterType< SvgTextToolOptionsModel >("org.krita.tools.text", 1, 0, "SvgTextToolOptionsModel")
qmlRegisterType< SvgTextToolOptionsManager >("org.krita.tools.text", 1, 0, "SvgTextToolOptionsManager")