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
18
20class KRITAFLAKE_EXPORT KoPathPointRemoveCommand : public KUndo2Command
21{
22public:
34 static KUndo2Command *createCommand(const QList<KoPathPointData> &pointDataList, KoShapeController *shapeController, KUndo2Command *parent = 0);
35
44 explicit KoPathPointRemoveCommand(const QList<KoPathPointData> &pointDataList, KUndo2Command *parent = 0);
46
48 void redo() override;
50 void undo() override;
51
52private:
54};
55
56#endif // KOPATHPOINTREMOVECOMMAND_H
virtual void undo()
virtual void redo()
The undo / redo command for removing path points.
KoPathPointRemoveCommandPrivate * d