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

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QDialog>
0010 
0011 #include "messageviewer_private_export.h"
0012 #include "remote-content/remotecontentinfo.h"
0013 namespace MessageViewer
0014 {
0015 class RemoteContentWidget;
0016 /**
0017  * @brief The RemoteContentDialog class
0018  * @author Laurent Montel <montel@kde.org>
0019  */
0020 class MESSAGEVIEWER_TESTS_EXPORT RemoteContentDialog : public QDialog
0021 {
0022     Q_OBJECT
0023 public:
0024     explicit RemoteContentDialog(QWidget *parent = nullptr);
0025     ~RemoteContentDialog() override;
0026 
0027     [[nodiscard]] RemoteContentInfo info() const;
0028     void setInfo(const RemoteContentInfo &info);
0029 
0030 private:
0031     RemoteContentWidget *const mRemoveContentWidget;
0032 };
0033 }