File indexing completed on 2025-03-09 04:54:37

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "messageviewer_export.h"
0010 #include <QDialog>
0011 namespace MessageViewer
0012 {
0013 class RemoteContentConfigureWidget;
0014 /**
0015  * @brief The RemoteContentConfigureDialog class
0016  * @author Laurent Montel <montel@kde.org>
0017  */
0018 class MESSAGEVIEWER_EXPORT RemoteContentConfigureDialog : public QDialog
0019 {
0020     Q_OBJECT
0021 public:
0022     explicit RemoteContentConfigureDialog(QWidget *parent = nullptr);
0023     ~RemoteContentConfigureDialog() override;
0024 
0025 private:
0026     MESSAGEVIEWER_NO_EXPORT void readConfig();
0027     MESSAGEVIEWER_NO_EXPORT void writeConfig();
0028     MESSAGEVIEWER_NO_EXPORT void slotAccept();
0029     RemoteContentConfigureWidget *const mRemoteContentConfigureWidget;
0030 };
0031 }