Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapePaintOrderCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2023 Wolthera van Hövell <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOSHAPEPAINTORDERCOMMAND_H
8#define KOSHAPEPAINTORDERCOMMAND_H
9
10#include "kritaflake_export.h"
11
12#include <kundo2command.h>
13#include <KoFlake.h>
14#include <KoShape.h>
15
16class KRITAFLAKE_EXPORT KoShapePaintOrderCommand: public KUndo2Command
17{
18public:
20
23 void redo() override;
25 void undo() override;
26
27 int id() const override;
28 bool mergeWith(const KUndo2Command *command) override;
29
30private:
31 class Private;
32 Private * const d;
33};
34
35#endif // KOSHAPEPAINTORDERCOMMAND_H
virtual bool mergeWith(const KUndo2Command *other)
virtual void undo()
virtual void redo()
virtual int id() const