Krita Source Code Documentation
Loading...
Searching...
No Matches
StarShapeConfigCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef STARSHAPECONFIGCOMMAND_H
8#define STARSHAPECONFIGCOMMAND_H
9
10#include <kundo2command.h>
11
12class StarShape;
13
16{
17public:
27 StarShapeConfigCommand(StarShape *star, uint cornerCount, qreal innerRadius, qreal outerRadius, bool convex, KUndo2Command *parent = 0);
29 void redo() override;
31 void undo() override;
32private:
42};
43
44#endif // STARSHAPECONFIGCOMMAND_H
45
unsigned int uint
The undo / redo command for configuring a star shape.
StarShapeConfigCommand(StarShape *star, uint cornerCount, qreal innerRadius, qreal outerRadius, bool convex, KUndo2Command *parent=0)
void undo() override
revert the actions done in redo
void redo() override
redo the command