Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_deselect_global_selection_command.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2007 Sven Langkamp <sven.langkamp@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include <klocalizedstring.h>
10
11#include "kis_image.h"
12#include "kis_group_layer.h"
13#include "kis_selection_mask.h"
18
19
21 : KisCommandUtils::AggregateCommand(kundo2_i18n("Deselect"), parent)
22 , m_image(image)
23{
24}
25
29
KisDeselectGlobalSelectionCommand(KisImageWSP image, KUndo2Command *parent=0)
KisGroupLayerSP rootLayer() const
KisSharedPtr< T > toStrongRef() const
toStrongRef returns a KisSharedPtr which may be dereferenced.
#define KIS_SAFE_ASSERT_RECOVER_RETURN(cond)
Definition kis_assert.h:128
KUndo2MagicString kundo2_i18n(const char *text)
void addCommand(KUndo2Command *cmd)
virtual KisSelectionMaskSP selectionMask() const
Definition kis_layer.cc:498