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 12fcc39d authored by Laurent Montel's avatar Laurent Montel

Continue to implement it

parent 28ca59bc
......@@ -51,7 +51,12 @@ void InsertEmailPluginEditorInterface::exec()
{
if (!mSelectMailDialog) {
mSelectMailDialog = new SelectMailDialog(parentWidget());
connect(mSelectMailDialog.data(), &SelectMailDialog::emailSelected, this, &InsertEmailPluginEditorInterface::slotEmailSelected);
}
mSelectMailDialog->show();
}
void InsertEmailPluginEditorInterface::slotEmailSelected(const QStringList &lst)
{
//richTextEditor()->insertPlainText(lst.join());
}
......@@ -34,6 +34,7 @@ public:
void exec() override;
private:
void slotEmailSelected(const QStringList &lst);
void slotActivated();
QPointer<SelectMailDialog> mSelectMailDialog;
};
......
......@@ -32,6 +32,10 @@ public:
~SelectMailDialog();
QStringList selectedEmails() const;
Q_SIGNALS:
void emailSelected(const QStringList &lst);
private:
SelectMailWidget *mSelectMailWidget = 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