Krita Source Code Documentation
Loading...
Searching...
No Matches
KoParameterToPathCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006, 2008 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 KOPARAMETERTOPATHCOMMAND_H
9#define KOPARAMETERTOPATHCOMMAND_H
10
11#include <kundo2command.h>
12#include <QList>
13
14#include "kritaflake_export.h"
15
18
20class KRITAFLAKE_EXPORT KoParameterToPathCommand : public KUndo2Command
21{
22public:
28 explicit KoParameterToPathCommand(KoParameterShape *shape, KUndo2Command *parent = 0);
34 explicit KoParameterToPathCommand(const QList<KoParameterShape*> &shapes, KUndo2Command *parent = 0);
36
38 void redo() override;
40 void undo() override;
41private:
43};
44
45#endif // KOPARAMETERTOPATHCOMMAND_H
virtual void undo()
virtual void redo()
The undo / redo command for changing a KoParameterShape into a KoPathShape.
KoParameterToPathCommandPrivate *const d