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

Allow to show dialogbox

parent 33f285ac
......@@ -10,7 +10,7 @@ endmacro ()
add_kmail_converttext_unittest(markdowninterfacetest.cpp "../markdowninterface.cpp")
add_kmail_converttext_unittest(markdownpreviewwidgettest.cpp "../markdownpreviewwidget.cpp;../markdowndocument.cpp;../markdownpreviewpage.cpp")
add_kmail_converttext_unittest(markdownplugintest.cpp "../markdownplugin.cpp;../markdowninterface.cpp;../markdowndocument.cpp;../markdownpreviewpage.cpp")
add_kmail_converttext_unittest(markdownplugintest.cpp "../markdownplugin.cpp;../markdowninterface.cpp;../markdowndocument.cpp;../markdownpreviewpage.cpp;../markdownconfiguredialog.cpp;../markdownconfigurewidget.cpp")
add_kmail_converttext_unittest(markdowndocumenttest.cpp "../markdowndocument.cpp")
add_kmail_converttext_unittest(markdownconfigurewidgettest.cpp "../markdownconfigurewidget.cpp")
add_kmail_converttext_unittest(markdownconfiguredialogtest.cpp "../markdownconfiguredialog.cpp;../markdownconfigurewidget.cpp")
......@@ -20,9 +20,11 @@
#include "markdownplugin.h"
#include "markdowninterface.h"
#include "markdownconfiguredialog.h"
#include <KLocalizedString>
#include <kpluginfactory.h>
#include "kcoreaddons_kdepim_compat.h"
#include <QPointer>
K_PLUGIN_CLASS_WITH_JSON(MarkdownPlugin, "kmail_markdownplugin.json")
......@@ -52,8 +54,9 @@ bool MarkdownPlugin::hasConfigureDialog() const
void MarkdownPlugin::showConfigureDialog(QWidget *parent)
{
Q_UNUSED(parent)
//TODO
QPointer<MarkdownConfigureDialog> dlg = new MarkdownConfigureDialog(parent);
dlg->exec();
delete dlg;
}
QString MarkdownPlugin::description() 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