File indexing completed on 2024-05-12 15:56:53
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2010 Thorsten Zachmann <zachmann@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #ifndef KOTOSCONTAINERMODEL_H 0007 #define KOTOSCONTAINERMODEL_H 0008 0009 #include "KoShapeContainerModel.h" 0010 0011 class KoTosContainerModel : public KoShapeContainerModel 0012 { 0013 public: 0014 KoTosContainerModel(); 0015 ~KoTosContainerModel() override; 0016 0017 void add(KoShape *shape) override; 0018 void remove(KoShape *shape) override; 0019 void setClipped(const KoShape *shape, bool clipping) override; 0020 bool isClipped(const KoShape *shape) const override; 0021 void setInheritsTransform(const KoShape *shape, bool inherit) override; 0022 bool inheritsTransform(const KoShape *shape) const override; 0023 int count() const override; 0024 QList<KoShape*> shapes() const override; 0025 void containerChanged(KoShapeContainer *container, KoShape::ChangeType type) override; 0026 0027 private: 0028 KoShape *m_textShape; 0029 }; 0030 0031 #endif /* KOTOSCONTAINERMODEL_H */