Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSelectedShapesProxySimple.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include "kis_assert.h"
10#include <KoShapeManager.h>
11#include <KoSelection.h>
12
14 : m_shapeManager(shapeManager)
15{
17
18 connect(m_shapeManager.data(), SIGNAL(selectionChanged()), SIGNAL(selectionChanged()));
19 connect(m_shapeManager.data(), SIGNAL(selectionContentChanged()), SIGNAL(selectionContentChanged()));
20 connect(m_shapeManager->selection(), SIGNAL(currentLayerChanged(const KoShapeLayer*)), SIGNAL(currentLayerChanged(const KoShapeLayer*)));
21}
22
28
KoSelectedShapesProxySimple(KoShapeManager *shapeManager)
QPointer< KoShapeManager > m_shapeManager
void currentLayerChanged(const KoShapeLayer *layer)
#define KIS_ASSERT_RECOVER_RETURN_VALUE(cond, val)
Definition kis_assert.h:85
#define KIS_ASSERT_RECOVER_RETURN(cond)
Definition kis_assert.h:75