Warning, file /pim/mailcommon/src/snippets/snippetselectattachmentdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002    SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #pragma once
0008 
0009 #include "mailcommon_private_export.h"
0010 #include <QDialog>
0011 namespace MailCommon
0012 {
0013 class SnippetSelectAttachmentWidget;
0014 class MAILCOMMON_TESTS_EXPORT SnippetSelectAttachmentDialog : public QDialog
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit SnippetSelectAttachmentDialog(QWidget *parent = nullptr);
0019     ~SnippetSelectAttachmentDialog() override;
0020 
0021     void setAttachments(const QStringList &lst);
0022     [[nodiscard]] QStringList attachments() const;
0023 
0024 private:
0025     void writeConfig();
0026     void readConfig();
0027     SnippetSelectAttachmentWidget *const mAttachmentWidget;
0028 };
0029 }