File indexing completed on 2024-05-12 16:01:36
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_NODE_SELECTION_ADAPTER_H 0008 #define __KIS_NODE_SELECTION_ADAPTER_H 0009 0010 #include <QScopedPointer> 0011 #include "kis_types.h" 0012 #include "kritaui_export.h" 0013 0014 class KisNodeManager; 0015 0016 0017 class KRITAUI_EXPORT KisNodeSelectionAdapter 0018 { 0019 public: 0020 KisNodeSelectionAdapter(KisNodeManager *nodeManager); 0021 ~KisNodeSelectionAdapter(); 0022 0023 KisNodeSP activeNode() const; 0024 void setActiveNode(KisNodeSP node); 0025 0026 private: 0027 struct Private; 0028 const QScopedPointer<Private> m_d; 0029 }; 0030 0031 #endif /* __KIS_NODE_SELECTION_ADAPTER_H */