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

Add replyAsHtml support

parent fc7d8478
Pipeline #21146 passed with stage
in 47 minutes and 43 seconds
...@@ -62,6 +62,11 @@ void MessageFactoryReplyJob::setCollection(const Akonadi::Collection &collection ...@@ -62,6 +62,11 @@ void MessageFactoryReplyJob::setCollection(const Akonadi::Collection &collection
mCollection = collection; mCollection = collection;
} }
void MessageFactoryReplyJob::setReplyAsHtml(bool replyAsHtml)
{
mReplyAsHtml = replyAsHtml;
}
void MessageFactoryReplyJob::setReplyAll(bool replyAll) void MessageFactoryReplyJob::setReplyAll(bool replyAll)
{ {
mReplyAll = replyAll; mReplyAll = replyAll;
......
...@@ -49,6 +49,8 @@ public: ...@@ -49,6 +49,8 @@ public:
void setCollection(const Akonadi::Collection &collection); void setCollection(const Akonadi::Collection &collection);
void setReplyAsHtml(bool replyAsHtml);
Q_SIGNALS: Q_SIGNALS:
void replyDone(const KMime::Message::Ptr &msg, bool replyAll); void replyDone(const KMime::Message::Ptr &msg, bool replyAll);
...@@ -60,6 +62,7 @@ private: ...@@ -60,6 +62,7 @@ private:
KMime::Message::Ptr mOrigMsg = nullptr; KMime::Message::Ptr mOrigMsg = nullptr;
Akonadi::Collection mCollection; Akonadi::Collection mCollection;
bool mReplyAll = false; bool mReplyAll = false;
bool mReplyAsHtml = false;
KIdentityManagement::IdentityManager *mIdentityManager = nullptr; KIdentityManagement::IdentityManager *mIdentityManager = 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