Krita Source Code Documentation
Loading...
Searching...
No Matches
ImageShapeFactory.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * SPDX-FileCopyrightText: 2009 Inge Wallin <inge@lysator.liu.se>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef IMAGESHAPE_FACTORY_H
9#define IMAGESHAPE_FACTORY_H
10
11// Calligra
12#include <KoShapeFactoryBase.h>
13
14class KoShape;
15
17{
18
19public:
22 ~ImageShapeFactory() override {}
23
24 KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
34 KoShape *createShape(const KoProperties *params, KoDocumentResourceManager *documentResources = 0) const;
35 bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override;
37};
38
39#endif
KoShape * createShape(const KoProperties *params, KoDocumentResourceManager *documentResources=0) const
createShape
~ImageShapeFactory() override
bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override
ImageShapeFactory()
constructor
QList< KoShapeConfigWidgetBase * > createShapeOptionPanels() override
KoShape * createDefaultShape(KoDocumentResourceManager *documentResources=0) const override