File indexing completed on 2025-01-05 04:49:34
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 "mailmergeplugin_private_export.h" 0010 #include <QWidget> 0011 class KUrlRequester; 0012 class QUrl; 0013 namespace MailMerge 0014 { 0015 class MAILMERGEPRIVATE_TESTS_EXPORT CsvWidget : public QWidget 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit CsvWidget(QWidget *parent = nullptr); 0020 ~CsvWidget() override; 0021 0022 void setPath(const QUrl &path); 0023 [[nodiscard]] QUrl path() const; 0024 0025 private: 0026 KUrlRequester *const mCvsUrlRequester; 0027 }; 0028 }