Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathShapeFactory.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2006 Rob Buis <buis@kde.org>
3 SPDX-FileCopyrightText: 2006 Thomas Zander <zander@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KOPATHSHAPEFACTORY_H
9#define KOPATHSHAPEFACTORY_H
10
11#include "KoShapeFactoryBase.h"
12
13class KoShape;
14
16class KRITAFLAKE_EXPORT KoPathShapeFactory : public KoShapeFactoryBase
17{
18public:
21 ~KoPathShapeFactory() override {}
22 KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
23 bool supports(const QDomElement &element, KoShapeLoadingContext &context) const override;
25 void newDocumentResourceManager(KoDocumentResourceManager *manager) const override;
26};
27
28#endif
Factory for path shapes.
virtual bool supports(const QDomElement &element, KoShapeLoadingContext &context) const =0
virtual void newDocumentResourceManager(KoDocumentResourceManager *manager) const
virtual KoShape * createDefaultShape(KoDocumentResourceManager *documentResources=0) const