Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathReverseCommand.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 KOPATHREVERSECOMMAND_H
8#define KOPATHREVERSECOMMAND_H
9
10#include <kundo2command.h>
11#include <QList>
12#include "kritaflake_export.h"
13
14class KoPathShape;
15
17class KRITAFLAKE_EXPORT KoPathReverseCommand : public KUndo2Command
18{
19public:
25 explicit KoPathReverseCommand(const QList<KoPathShape*> &paths, KUndo2Command *parent = 0);
26 ~KoPathReverseCommand() override;
28 void redo() override;
30 void undo() override;
31private:
32 class Private;
33 Private * const d;
34};
35
36#endif // KOPATHREVERSECOMMAND_H
virtual void undo()
virtual void redo()
The undo / redo command for reversing path directions.
The position of a path point within a path shape.
Definition KoPathShape.h:63