File indexing completed on 2025-01-05 04:49:27

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QWidget>
0010 namespace Akonadi
0011 {
0012 class EmailAddressSelectionWidget;
0013 }
0014 
0015 class SelectMailWidget : public QWidget
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit SelectMailWidget(QWidget *parent = nullptr);
0020     ~SelectMailWidget() override;
0021 
0022     [[nodiscard]] QStringList selectedEmails() const;
0023 
0024 Q_SIGNALS:
0025     void doubleClicked();
0026 
0027 private:
0028     Akonadi::EmailAddressSelectionWidget *mView = nullptr;
0029 };