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

0001 /*
0002   SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 
0008 #pragma once
0009 
0010 #include <QDialog>
0011 
0012 namespace TextCustomEditor
0013 {
0014 class RichTextEditorWidget;
0015 }
0016 
0017 namespace MessageViewer
0018 {
0019 class ScamDetectionDetailsDialog : public QDialog
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit ScamDetectionDetailsDialog(QWidget *parent = nullptr);
0024     ~ScamDetectionDetailsDialog() override;
0025 
0026     void setDetails(const QString &details);
0027 
0028 private:
0029     void slotSaveAs();
0030     void writeConfig();
0031     void readConfig();
0032     TextCustomEditor::RichTextEditorWidget *const mDetails;
0033 };
0034 }