Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeConnectionChangeCommand.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 KOSHAPECONNECTIONCHANGECOMMAND_H
8
#define KOSHAPECONNECTIONCHANGECOMMAND_H
9
10
#include "kritaflake_export.h"
11
#include <
kundo2command.h
>
12
#include "KoConnectionShape.h"
13
15
class
KRITAFLAKE_EXPORT
KoShapeConnectionChangeCommand
:
public
KUndo2Command
16
{
17
public
:
27
KoShapeConnectionChangeCommand
(KoConnectionShape *connection, KoConnectionShape::HandleId connectionHandle,
28
KoShape
*oldConnectedShape,
int
oldConnectionPointId,
29
KoShape
*newConnectedShape,
int
newConnectionPointId,
KUndo2Command
*parent = 0);
30
32
~KoShapeConnectionChangeCommand
()
override
;
33
35
void
redo
()
override
;
37
void
undo
()
override
;
38
39
private
:
40
class
Private
;
41
Private
*
const
d
;
42
};
43
44
#endif
// KOSHAPECONNECTIONCHANGECOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoShapeConnectionChangeCommand
A command to add a connection between two shapes.
Definition
KoShapeConnectionChangeCommand.cpp:10
KoShapeConnectionChangeCommand::d
Private *const d
Definition
KoShapeConnectionChangeCommand.h:41
KoShape
Definition
KoShape.h:92
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoShapeConnectionChangeCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52