File indexing completed on 2024-12-22 04:15:27
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2006 Thorsten Zachmann <zachmann@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KOELLIPSESHAPEFACTORY_H 0008 #define KOELLIPSESHAPEFACTORY_H 0009 0010 #include "KoShapeFactoryBase.h" 0011 #include <QDebug> 0012 0013 class KoShape; 0014 0015 /// Factory for ellipse shapes 0016 class EllipseShapeFactory : public KoShapeFactoryBase 0017 { 0018 public: 0019 /// constructor 0020 EllipseShapeFactory(); 0021 ~EllipseShapeFactory() override {} 0022 KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override; 0023 bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override; 0024 QList<KoShapeConfigWidgetBase *> createShapeOptionPanels() override; 0025 }; 0026 0027 #endif /* KOELLIPSESHAPEFACTORY_H */