Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeDeleteCommand.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 KOSHAPEDELETECOMMAND_H
9
#define KOSHAPEDELETECOMMAND_H
10
11
#include "kritaflake_export.h"
12
#include <
kundo2command.h
>
13
#include <QList>
14
15
class
KoShape
;
16
class
KoShapeControllerBase
;
17
19
class
KRITAFLAKE_EXPORT
KoShapeDeleteCommand
:
public
KUndo2Command
20
{
21
public
:
28
KoShapeDeleteCommand
(
KoShapeControllerBase
*controller,
KoShape
*shape,
KUndo2Command
*parent = 0);
35
KoShapeDeleteCommand
(
KoShapeControllerBase
*controller,
const
QList<KoShape*>
&shapes,
KUndo2Command
*parent = 0);
36
~KoShapeDeleteCommand
()
override
;
38
void
redo
()
override
;
40
void
undo
()
override
;
41
private
:
42
class
Private
;
43
Private
*
const
d
;
44
};
45
46
#endif
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoShapeControllerBase
Definition
KoShapeControllerBase.h:31
KoShapeDeleteCommand
The undo / redo command for deleting shapes.
Definition
KoShapeDeleteCommand.cpp:15
KoShapeDeleteCommand::d
Private *const d
Definition
KoShapeDeleteCommand.h:43
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoShapeDeleteCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52