File indexing completed on 2024-05-26 04:33:12

0001 /* This file is part of the KDE project
0002  *
0003  * SPDX-FileCopyrightText: 2009 Inge Wallin <inge@lysator.liu.se>
0004  *
0005  * SPDX-License-Identifier: LGPL-2.0-or-later
0006  */
0007 
0008 #ifndef IMAGESHAPE_FACTORY_H
0009 #define IMAGESHAPE_FACTORY_H
0010 
0011 // Calligra
0012 #include <KoShapeFactoryBase.h>
0013 
0014 class KoShape;
0015 
0016 class ImageShapeFactory : public KoShapeFactoryBase
0017 {
0018 
0019 public:
0020     /// constructor
0021     ImageShapeFactory();
0022     ~ImageShapeFactory() override {}
0023 
0024     KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
0025     bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override;
0026     QList<KoShapeConfigWidgetBase *> createShapeOptionPanels() override;
0027 };
0028 
0029 #endif