1 /* 2 SPDX-FileCopyrightText: 2020-2021 Laurent Montel <montel@kde.org> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include <KMessageWidget> 10 #include <QWidget> 11 12 class AttachmentAddedFromExternalWarning : public KMessageWidget 13 { 14 Q_OBJECT 15 public: 16 explicit AttachmentAddedFromExternalWarning(QWidget *parent = nullptr); 17 ~AttachmentAddedFromExternalWarning() override; 18 19 void setAttachmentNames(const QStringList &lst); 20 }; 21 22