File indexing completed on 2024-12-22 05:05:30

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <KPageDialog>
0010 #ifdef WITH_KUSERFEEDBACK
0011 namespace KUserFeedback
0012 {
0013 class FeedbackConfigWidget;
0014 }
0015 #endif
0016 class PimDataExporterConfigureWidget;
0017 class PimDataExporterConfigureDialog : public KPageDialog
0018 {
0019     Q_OBJECT
0020 public:
0021     explicit PimDataExporterConfigureDialog(QWidget *parent = nullptr);
0022     ~PimDataExporterConfigureDialog() override;
0023 
0024 private:
0025     void slotAccepted();
0026     void readConfig();
0027     void writeConfig();
0028 
0029     PimDataExporterConfigureWidget *const mConfigureWidget;
0030 #ifdef WITH_KUSERFEEDBACK
0031     KUserFeedback::FeedbackConfigWidget *mUserFeedbackWidget = nullptr;
0032 #endif
0033 };