Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSubpathRemoveCommand.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 KOSUBPATHREMOVECOMMAND_H
9#define KOSUBPATHREMOVECOMMAND_H
10
11#include <kundo2command.h>
12#include "KoPathShape.h"
13#include "kritaflake_export.h"
14
16class KRITAFLAKE_EXPORT KoSubpathRemoveCommand : public KUndo2Command
17{
18public:
25 KoSubpathRemoveCommand(KoPathShape *pathShape, int subpathIndex, KUndo2Command *parent = 0);
26 ~KoSubpathRemoveCommand() override;
27
29 void redo() override;
31 void undo() override;
32
33private:
37};
38
39#endif // KOSUBPATHREMOVECOMMAND_H
virtual void undo()
virtual void redo()
The position of a path point within a path shape.
Definition KoPathShape.h:63
The undo / redo command for removing a subpath.