Krita Source Code Documentation
Loading...
Searching...
No Matches
grid_paintop_plugin.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2009 Lukáš Tvrdý (lukast.dev@gmail.com)
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
7
8#include <klocalizedstring.h>
9
10#include <kis_debug.h>
11#include <kpluginfactory.h>
12
14
15#include "kis_grid_paintop.h"
17
18#include "kis_global.h"
19
20K_PLUGIN_FACTORY_WITH_JSON(GridPaintOpPluginFactory, "kritagridpaintop.json", registerPlugin<GridPaintOpPlugin>();)
21
22
23GridPaintOpPlugin::GridPaintOpPlugin(QObject *parent, const QVariantList &)
24 : QObject(parent)
25{
27 r->add(new KisSimplePaintOpFactory<KisGridPaintOp, KisGridPaintOpSettings, KisGridPaintOpSettingsWidget>("gridbrush", i18nc("type of a brush engine, shown in the list of brush engines", "Grid"),
28 KisPaintOpFactory::categoryStable(), "krita-grid.png", QString(), QStringList(), 8));
29
30}
31
35
36#include "grid_paintop_plugin.moc"
QList< QString > QStringList
GridPaintOpPlugin(QObject *parent, const QVariantList &)
static QString categoryStable()
static KisPaintOpRegistry * instance()
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL