/*
   SPDX-FileCopyrightText: 2012-2020 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef ATTACHMENTMISSINGWARNING_H
#define ATTACHMENTMISSINGWARNING_H

#include <KMessageWidget>

class AttachmentMissingWarning : public KMessageWidget
{
    Q_OBJECT
public:
    explicit AttachmentMissingWarning(QWidget *parent = nullptr);
    ~AttachmentMissingWarning();
    void slotFileAttached();

Q_SIGNALS:
    void attachMissingFile();
    void closeAttachMissingFile();
    void explicitClosedMissingAttachment();

private:
    void explicitlyClosed();
    void slotAttachFile();
};

#endif // ATTACHMENTMISSINGWARNING_H
