File indexing completed on 2024-05-26 04:32:42
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_SNAPSHOT_VIEW_H_ 0008 #define KIS_SNAPSHOT_VIEW_H_ 0009 0010 #include <QListView> 0011 0012 class KisSnapshotView : public QListView 0013 { 0014 public: 0015 KisSnapshotView(); 0016 ~KisSnapshotView() override; 0017 0018 void setModel(QAbstractItemModel *model) override; 0019 0020 public Q_SLOTS: 0021 void slotSwitchToSelectedSnapshot(); 0022 void slotRemoveSelectedSnapshot(); 0023 private: 0024 struct Private; 0025 QScopedPointer<Private> m_d; 0026 }; 0027 0028 #endif