Commit d0fdd28b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to get replyTo info

parent 6b8be715
Pipeline #69889 passed with stage
in 40 minutes and 48 seconds
......@@ -59,6 +59,14 @@ QString ComposerViewInterface::from() const
return {};
}
QString ComposerViewInterface::replyTo() const
{
if (mComposerView) {
return mComposerView->replyTo();
}
return {};
}
MessageComposer::ComposerAttachmentInterface ComposerViewInterface::attachments() const
{
MessageComposer::ComposerAttachmentInterface attachmentInterface;
......
......@@ -27,6 +27,7 @@ public:
Q_REQUIRED_RESULT QString cc() const;
Q_REQUIRED_RESULT QString bcc() const;
Q_REQUIRED_RESULT QString from() const;
Q_REQUIRED_RESULT QString replyTo() const;
Q_REQUIRED_RESULT MessageComposer::ComposerAttachmentInterface attachments() const;
......
......@@ -32,6 +32,11 @@ QString PluginComposerInterface::subject() const
return mComposerViewInterface->subject();
}
QString PluginComposerInterface::replyTo() const
{
return mComposerViewInterface->replyTo();
}
QString PluginComposerInterface::to() const
{
return mComposerViewInterface->to();
......
......@@ -24,6 +24,7 @@ public:
~PluginComposerInterface();
void setComposerViewBase(ComposerViewBase *composerViewBase);
Q_REQUIRED_RESULT QString replyTo() const;
Q_REQUIRED_RESULT QString subject() const;
Q_REQUIRED_RESULT QString to() const;
Q_REQUIRED_RESULT QString cc() const;
......
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