Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathReverseCommand.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#ifndef KOPATHREVERSECOMMAND_H
8
#define KOPATHREVERSECOMMAND_H
9
10
#include <
kundo2command.h
>
11
#include <QList>
12
#include "kritaflake_export.h"
13
14
class
KoPathShape
;
15
17
class
KRITAFLAKE_EXPORT
KoPathReverseCommand
:
public
KUndo2Command
18
{
19
public
:
25
explicit
KoPathReverseCommand
(
const
QList<KoPathShape*>
&paths,
KUndo2Command
*parent = 0);
26
~KoPathReverseCommand
()
override
;
28
void
redo
()
override
;
30
void
undo
()
override
;
31
private
:
32
class
Private
;
33
Private
*
const
d
;
34
};
35
36
#endif
// KOPATHREVERSECOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoPathReverseCommand
The undo / redo command for reversing path directions.
Definition
KoPathReverseCommand.cpp:12
KoPathReverseCommand::d
Private *const d
Definition
KoPathReverseCommand.h:33
KoPathShape
The position of a path point within a path shape.
Definition
KoPathShape.h:63
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoPathReverseCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52