Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeUnclipCommand.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2011 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#ifndef KOSHAPEUNCLIPCOMMAND_H
8
#define KOSHAPEUNCLIPCOMMAND_H
9
10
#include "kritaflake_export.h"
11
#include <
kundo2command.h
>
12
#include <QList>
13
14
class
KoShape
;
15
class
KoShapeControllerBase
;
16
18
class
KRITAFLAKE_EXPORT
KoShapeUnclipCommand
:
public
KUndo2Command
19
{
20
public
:
27
KoShapeUnclipCommand
(
KoShapeControllerBase
*controller,
const
QList<KoShape*>
&shapes,
KUndo2Command
*parent = 0);
28
35
KoShapeUnclipCommand
(
KoShapeControllerBase
*controller,
KoShape
*shape,
KUndo2Command
*parent = 0);
36
38
~KoShapeUnclipCommand
()
override
;
39
41
void
redo
()
override
;
43
void
undo
()
override
;
44
45
private
:
46
class
Private
;
47
Private
*
const
d
;
48
};
49
50
#endif
// KOSHAPEUNCLIPCOMMAND_H
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
KoShapeUnclipCommand
The undo / redo command for removing the shape clip path.
Definition
KoShapeUnclipCommand.h:19
KoShapeUnclipCommand::d
Private *const d
Definition
KoShapeUnclipCommand.h:47
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoShapeUnclipCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52