Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathPointRemoveCommand.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2006 Jan Hambrecht <jaham@gmx.net>
3
* SPDX-FileCopyrightText: 2006, 2007 Thorsten Zachmann <zachmann@kde.org>
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
8
#ifndef KOPATHPOINTREMOVECOMMAND_H
9
#define KOPATHPOINTREMOVECOMMAND_H
10
11
#include <
kundo2command.h
>
12
#include <QList>
13
#include "
KoPathPointData.h
"
14
#include "kritaflake_export.h"
15
16
class
KoShapeController
;
17
class
KoPathPointRemoveCommandPrivate
;
18
20
class
KRITAFLAKE_EXPORT
KoPathPointRemoveCommand
:
public
KUndo2Command
21
{
22
public
:
34
static
KUndo2Command
*createCommand(
const
QList<KoPathPointData>
&pointDataList,
KoShapeController
*shapeController,
KUndo2Command
*parent = 0);
35
44
explicit
KoPathPointRemoveCommand
(
const
QList<KoPathPointData>
&pointDataList,
KUndo2Command
*parent = 0);
45
~KoPathPointRemoveCommand
()
override
;
46
48
void
redo
()
override
;
50
void
undo
()
override
;
51
52
private
:
53
KoPathPointRemoveCommandPrivate
*
d
;
54
};
55
56
#endif
// KOPATHPOINTREMOVECOMMAND_H
KoPathPointData.h
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoPathPointRemoveCommandPrivate
Definition
KoPathPointRemoveCommand.cpp:15
KoPathPointRemoveCommand
The undo / redo command for removing path points.
Definition
KoPathPointRemoveCommand.h:21
KoPathPointRemoveCommand::d
KoPathPointRemoveCommandPrivate * d
Definition
KoPathPointRemoveCommand.h:53
KoShapeController
Definition
KoShapeController.h:35
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
libs
flake
commands
KoPathPointRemoveCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52