File indexing completed on 2024-05-12 16:01:32
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_GUI_CONTEXT_COMMAND_P_H 0008 #define __KIS_GUI_CONTEXT_COMMAND_P_H 0009 0010 #include <QObject> 0011 class KUndo2Command; 0012 0013 class KisGuiContextCommandDelegate : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 KisGuiContextCommandDelegate(QObject *parent = 0); 0018 0019 public Q_SLOTS: 0020 void executeCommand(KUndo2Command *command, bool undo); 0021 }; 0022 0023 0024 #endif /* __KIS_GUI_CONTEXT_COMMAND_P_H */