File indexing completed on 2024-10-27 04:50:59
0001 /* 0002 SPDX-FileCopyrightText: 2015-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 "kmail_private_export.h" 0011 #include <KMessageWidget> 0012 class KMAILTESTS_TESTS_EXPORT PotentialPhishingEmailWarning : public KMessageWidget 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit PotentialPhishingEmailWarning(QWidget *parent = nullptr); 0017 ~PotentialPhishingEmailWarning() override; 0018 0019 void setPotentialPhisingEmail(const QStringList &lst); 0020 0021 Q_SIGNALS: 0022 void sendNow(); 0023 0024 private: 0025 void slotShowDetails(const QString &link); 0026 QStringList mPotentialPhishingEmails; 0027 };