File indexing completed on 2024-10-27 04:50:59
0001 /* 0002 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <KMessageWidget> 0010 0011 class AttachmentMissingWarning : public KMessageWidget 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit AttachmentMissingWarning(QWidget *parent = nullptr); 0016 ~AttachmentMissingWarning() override; 0017 void slotFileAttached(); 0018 0019 Q_SIGNALS: 0020 void attachMissingFile(); 0021 void closeAttachMissingFile(); 0022 void explicitClosedMissingAttachment(); 0023 0024 private: 0025 void explicitlyClosed(); 0026 void slotAttachFile(); 0027 };