Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeBackgroundCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006 Thomas Zander <zander@kde.org>
3 * SPDX-FileCopyrightText: 2006, 2008 Jan Hambrecht <jaham@gmx.net>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOSHAPEBACKGROUNDCOMMAND_H
9#define KOSHAPEBACKGROUNDCOMMAND_H
10
11#include "kritaflake_export.h"
12
13#include <kundo2command.h>
14#include <QList>
15#include <QSharedPointer>
16
17class KoShape;
19
21class KRITAFLAKE_EXPORT KoShapeBackgroundCommand : public KUndo2Command
22{
23public:
31
39
47
50 void redo() override;
52 void undo() override;
53
54 int id() const override;
55 bool mergeWith(const KUndo2Command *command) override;
56
57private:
58 class Private;
59 Private * const d;
60};
61
62#endif
virtual bool mergeWith(const KUndo2Command *other)
virtual void undo()
virtual void redo()
virtual int id() const
The undo / redo command for setting the shape background.