File indexing completed on 2025-01-26 04:08:08

0001 /*
0002  * SPDX-FileCopyrightText: 2023 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #ifndef DLGCONFIGURECUMULATIVEUNDO_H
0008 #define DLGCONFIGURECUMULATIVEUNDO_H
0009 
0010 #include <KoDialog.h>
0011 #include <QObject>
0012 #include <QWidget>
0013 
0014 struct KisCumulativeUndoData;
0015 
0016 class KisDlgConfigureCumulativeUndo : public KoDialog
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     KisDlgConfigureCumulativeUndo(const KisCumulativeUndoData &data, int undoLimit, QWidget *parent = 0);
0022     ~KisDlgConfigureCumulativeUndo();
0023 
0024     KisCumulativeUndoData cumulativeUndoData() const;
0025 
0026 private Q_SLOTS:
0027     void slotDefaultClicked();
0028 
0029 private:
0030     struct Private;
0031     QScopedPointer<Private> m_d;
0032 };
0033 
0034 #endif // DLGCONFIGURECUMULATIVEUNDO_H