Krita Source Code Documentation
Loading...
Searching...
No Matches
KoTosContainerModel.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2010 Thorsten Zachmann <zachmann@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#ifndef KOTOSCONTAINERMODEL_H
7#define KOTOSCONTAINERMODEL_H
8
10
12{
13public:
15 ~KoTosContainerModel() override;
16
17 void add(KoShape *shape) override;
18 void remove(KoShape *shape) override;
19 void setClipped(const KoShape *shape, bool clipping) override;
20 bool isClipped(const KoShape *shape) const override;
21 void setInheritsTransform(const KoShape *shape, bool inherit) override;
22 bool inheritsTransform(const KoShape *shape) const override;
23 int count() const override;
24 QList<KoShape*> shapes() const override;
25 void containerChanged(KoShapeContainer *container, KoShape::ChangeType type) override;
26
27private:
29};
30
31#endif /* KOTOSCONTAINERMODEL_H */
ChangeType
Used by shapeChanged() to select which change was made.
Definition KoShape.h:95
bool isClipped(const KoShape *shape) const override
QList< KoShape * > shapes() const override
void containerChanged(KoShapeContainer *container, KoShape::ChangeType type) override
bool inheritsTransform(const KoShape *shape) const override
int count() const override
void setInheritsTransform(const KoShape *shape, bool inherit) override
void setClipped(const KoShape *shape, bool clipping) override
void remove(KoShape *shape) override
void add(KoShape *shape) override