Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeSizeCommand.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 KOSHAPESIZECOMMAND_H
9#define KOSHAPESIZECOMMAND_H
10
11#include "kritaflake_export.h"
12
13#include <kundo2command.h>
14#include <QList>
15
16class KoShape;
17
19class KRITAFLAKE_EXPORT KoShapeSizeCommand : public KUndo2Command
20{
21public:
29 KoShapeSizeCommand(const QList<KoShape*> &shapes, const QList<QSizeF> &previousSizes,
30 const QList<QSizeF> &newSizes, KUndo2Command *parent = 0);
31 ~KoShapeSizeCommand() override;
32
34 void redo() override;
36 void undo() override;
37
38private:
39 class Private;
40 Private * const d;
41};
42
43#endif
virtual void undo()
virtual void redo()
The undo / redo command for shape sizing.