1 /*
2    SPDX-FileCopyrightText: 2012-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 
11 class AttachmentMissingWarning : public KMessageWidget
12 {
13     Q_OBJECT
14 public:
15     explicit AttachmentMissingWarning(QWidget *parent = nullptr);
16     ~AttachmentMissingWarning() override;
17     void slotFileAttached();
18 
19 Q_SIGNALS:
20     void attachMissingFile();
21     void closeAttachMissingFile();
22     void explicitClosedMissingAttachment();
23 
24 private:
25     void explicitlyClosed();
26     void slotAttachFile();
27 };
28 
29