File indexing completed on 2024-05-12 15:56:44

0001 /* This file is part of the KDE project
0002    SPDX-FileCopyrightText: 2006 Rob Buis <buis@kde.org>
0003    SPDX-FileCopyrightText: 2006 Thomas Zander <zander@kde.org>
0004 
0005    SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KOPATHSHAPEFACTORY_H
0009 #define KOPATHSHAPEFACTORY_H
0010 
0011 #include "KoShapeFactoryBase.h"
0012 
0013 class KoShape;
0014 
0015 /// Factory for path shapes.
0016 class KRITAFLAKE_EXPORT KoPathShapeFactory : public KoShapeFactoryBase
0017 {
0018 public:
0019     /// constructor
0020     KoPathShapeFactory(const QStringList&);
0021     ~KoPathShapeFactory() override {}
0022     KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
0023     bool supports(const QDomElement &element, KoShapeLoadingContext &context) const override;
0024     /// reimplemented
0025     void newDocumentResourceManager(KoDocumentResourceManager *manager) const override;
0026 };
0027 
0028 #endif