File indexing completed on 2025-03-09 04:46:48
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDialog> 0010 class KUrlRequester; 0011 0012 namespace MailMerge 0013 { 0014 class SelectAttachmentDialog : public QDialog 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit SelectAttachmentDialog(QWidget *parent = nullptr); 0019 ~SelectAttachmentDialog() override; 0020 0021 void setAttachmentPath(const QUrl &path); 0022 [[nodiscard]] QString attachmentPath() const; 0023 0024 private: 0025 KUrlRequester *const mUrlRequester; 0026 }; 0027 }