File indexing completed on 2024-12-22 04:10:01
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Sven Langkamp <sven.langkamp@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KIS_DESELECT_GLOBAL_SELECTION_COMMAND_H_ 0007 #define KIS_DESELECT_GLOBAL_SELECTION_COMMAND_H_ 0008 0009 #include <kritaimage_export.h> 0010 #include <kis_command_utils.h> 0011 #include "kis_types.h" 0012 0013 0014 /// The command for deselection the global selection of KisImage 0015 class KRITAIMAGE_EXPORT KisDeselectGlobalSelectionCommand : public KisCommandUtils::AggregateCommand 0016 { 0017 public: 0018 /** 0019 * Constructor 0020 * @param image the image 0021 * @param parent the parent command 0022 */ 0023 KisDeselectGlobalSelectionCommand(KisImageWSP image, KUndo2Command * parent = 0); 0024 ~KisDeselectGlobalSelectionCommand() override; 0025 0026 void populateChildCommands() override; 0027 0028 protected: 0029 KisImageWSP m_image; 0030 }; 0031 0032 #endif