Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0a2f96c7 authored by Laurent Montel's avatar Laurent Montel

Return list emails

parent 12fcc39d
......@@ -47,5 +47,11 @@ SelectMailDialog::~SelectMailDialog()
QStringList SelectMailDialog::selectedEmails() const
{
return {};
return mSelectMailWidget->selectedEmails();
}
void SelectMailDialog::accept()
{
Q_EMIT emailSelected(selectedEmails());
QDialog::accept();
}
......@@ -33,6 +33,7 @@ public:
QStringList selectedEmails() const;
void accept() override;
Q_SIGNALS:
void emailSelected(const QStringList &lst);
......
......@@ -43,3 +43,8 @@ SelectMailWidget::~SelectMailWidget()
{
}
QStringList SelectMailWidget::selectedEmails() const
{
return {}; //mView->selectedAddresses();
}
......@@ -32,6 +32,9 @@ class SelectMailWidget : public QWidget
public:
explicit SelectMailWidget(QWidget *parent = nullptr);
~SelectMailWidget();
QStringList selectedEmails() const;
private:
Akonadi::EmailAddressSelectionWidget *mView = nullptr;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment