Commit c2066d68 authored by Laurent Montel's avatar Laurent Montel 😁

Use new api

parent 9d94ff17
......@@ -67,7 +67,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.7.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.7.41")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.7.40")
set(MESSAGELIB_LIB_VERSION_LIB "5.7.82")
set(MESSAGELIB_LIB_VERSION_LIB "5.7.84")
set(LIBKLEO_LIB_VERSION_LIB "5.7.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.7.42")
set(LIBKDEPIM_LIB_VERSION_LIB "5.7.40")
......
......@@ -58,6 +58,13 @@ void KMailPluginEditorConvertTextManagerInterface::convertTextToFormat(MessageCo
//TODO
}
void KMailPluginEditorConvertTextManagerInterface::setMessage(const KMime::Message::Ptr &newMsg)
{
for (MessageComposer::PluginEditorConvertTextInterface *interface : qAsConst(mListPluginInterface)) {
interface->setMessage(newMsg);
}
}
QWidget *KMailPluginEditorConvertTextManagerInterface::parentWidget() const
{
return mParentWidget;
......
......@@ -50,6 +50,9 @@ public:
void reformatText();
void convertTextToFormat(MessageComposer::TextPart *textPart);
void setMessage(const KMime::Message::Ptr &newMsg);
Q_SIGNALS:
void reformatingTextDone();
......
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