File indexing completed on 2025-01-26 04:08:07
0001 /* 0002 * SPDX-FileCopyrightText: 2019 Tusooa Zhu <tusooa@vista.aero> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_DLG_CHANGE_CLONE_SOURCE_H_ 0008 #define KIS_DLG_CHANGE_CLONE_SOURCE_H_ 0009 0010 #include "kis_types.h" 0011 #include <KoDialog.h> 0012 0013 #include "ui_wdgchangeclonesource.h" 0014 0015 class QWidget; 0016 class KisViewManager; 0017 0018 class KisDlgChangeCloneSource : public KoDialog 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 KisDlgChangeCloneSource(QList<KisCloneLayerSP> layers, KisViewManager *view, QWidget *parent = 0); 0024 0025 ~KisDlgChangeCloneSource() override; 0026 0027 private: 0028 void updateTargetLayerList(); 0029 0030 public Q_SLOTS: 0031 void slotCancelChangesAndSetNewTarget(); 0032 0033 private: 0034 struct Private; 0035 const QScopedPointer<Private> d; 0036 }; 0037 0038 #endif // KIS_DLG_CHANGE_CLONE_SOURCE_H_