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
16
class
KoShape
;
17
19
class
KRITAFLAKE_EXPORT
KoShapeSizeCommand
:
public
KUndo2Command
20
{
21
public
:
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
38
private
:
39
class
Private
;
40
Private
*
const
d
;
41
};
42
43
#endif
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoShapeSizeCommand
The undo / redo command for shape sizing.
Definition
KoShapeSizeCommand.cpp:14
KoShapeSizeCommand::d
Private *const d
Definition
KoShapeSizeCommand.h:40
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoShapeSizeCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52