File indexing completed on 2024-06-23 04:27:04

0001 /* This file is part of the KDE project
0002    SPDX-FileCopyrightText: 2007 Rob Buis <buis@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KOSPIRALSHAPEFACTORY_H
0008 #define KOSPIRALSHAPEFACTORY_H
0009 
0010 #include "KoShapeFactoryBase.h"
0011 
0012 class KoShape;
0013 
0014 /// Factory for spiral shapes
0015 class SpiralShapeFactory : public KoShapeFactoryBase
0016 {
0017 public:
0018     /// constructor
0019     SpiralShapeFactory();
0020     ~SpiralShapeFactory() override {}
0021     KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
0022     bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override;
0023     QList<KoShapeConfigWidgetBase *> createShapeOptionPanels() override;
0024 };
0025 
0026 #endif /* KOSPIRALSHAPEFACTORY_H */