Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathShapeMarkerCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2010 Jeremy Lugagne <lugagne.jeremy@gmail.com>
3 * SPDX-FileCopyrightText: 2011 Jean-Nicolas Artaud <jeannicolasartaud@gmail.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KoPathShapeMarkerCommand_H
9#define KoPathShapeMarkerCommand_H
10
11#include "kritaflake_export.h"
12
13#include <QScopedPointer>
14
15#include "KoFlake.h"
16#include <kundo2command.h>
17#include <QList>
18
19class KoPathShape;
20class KoMarker;
21
23class KRITAFLAKE_EXPORT KoPathShapeMarkerCommand : public KUndo2Command
24{
25public:
34
36
37 void redo() override;
38 void undo() override;
39
40 int id() const override;
41 bool mergeWith(const KUndo2Command *command) override;
42
43private:
44 struct Private;
45 const QScopedPointer<Private> m_d;
46};
47
48#endif // KoPathShapeMarkerCommand_H
virtual bool mergeWith(const KUndo2Command *other)
virtual void undo()
virtual void redo()
virtual int id() const
The position of a path point within a path shape.
Definition KoPathShape.h:63
MarkerPosition
Definition KoFlake.h:41
The undo / redo command for setting the shape marker.
const QScopedPointer< Private > m_d