Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeUngroupCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006 Thomas Zander <zander@kde.org>
3 * SPDX-FileCopyrightText: 2006 Jan Hambrecht <jaham@gmx.net>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOSHAPEUNGROUPCOMMAND_H
9#define KOSHAPEUNGROUPCOMMAND_H
10
11#include "kritaflake_export.h"
12#include <kundo2command.h>
13#include <QScopedPointer>
14
15class KoShape;
16class KoShapeGroup;
18
20class KRITAFLAKE_EXPORT KoShapeUngroupCommand : public KUndo2Command
21{
22public:
31 const QList<KoShape *> &topLevelShapes = QList<KoShape*>(), KUndo2Command *parent = 0);
33
35 void redo() override;
37 void undo() override;
38
39private:
40 struct Private;
41 const QScopedPointer<Private> m_d;
42
43};
44
45#endif
virtual void undo()
virtual void redo()
The undo / redo command for ungrouping shapes.
const QScopedPointer< Private > m_d