File indexing completed on 2024-04-21 05:50:17

0001 /*
0002     SPDX-FileCopyrightText: 1999 Espen Sand espen@kde.org
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef COPTIONDIALOG_H
0007 #define COPTIONDIALOG_H
0008 
0009 #include "kdfprivate_export.h"
0010 
0011 #include <KPageDialog>
0012 
0013 class KDFConfigWidget;
0014 class MntConfigWidget;
0015 
0016 class KDFPRIVATE_EXPORT COptionDialog : public KPageDialog
0017 {
0018     Q_OBJECT
0019 
0020     public:
0021         explicit COptionDialog( QWidget *parent=nullptr );
0022         ~COptionDialog() override;
0023 
0024     protected Q_SLOTS:
0025         void slotOk();
0026         void slotApply();
0027         void slotChanged();
0028         void slotHelp();
0029 
0030     Q_SIGNALS:
0031         void valueChanged();
0032 
0033     private:
0034         KDFConfigWidget *mConf = nullptr;
0035         MntConfigWidget *mMnt = nullptr;
0036         bool dataChanged;
0037 };
0038 
0039 #endif
0040