Commit a55ce5c9 authored by Sandro Knauß's avatar Sandro Knauß

Move converthtmltoplaintext to themes

parent 1c3bd593
...@@ -44,7 +44,7 @@ add_mimetreeparser_unittest(nodehelpertest.cpp) ...@@ -44,7 +44,7 @@ add_mimetreeparser_unittest(nodehelpertest.cpp)
add_mimetreeparser_unittest(csshelpertest.cpp) add_mimetreeparser_unittest(csshelpertest.cpp)
add_mimetreeparser_class_unittest( cryptohelpertest.cpp "../src/viewer/cryptohelper.cpp") add_mimetreeparser_class_unittest( cryptohelpertest.cpp "../src/viewer/cryptohelper.cpp")
ecm_add_test(converthtmltoplaintexttest.cpp ../src/viewer/converthtmltoplaintext.cpp ecm_add_test(converthtmltoplaintexttest.cpp ../src/themes/default/converthtmltoplaintext.cpp
TEST_NAME converthtmltoplaintexttest TEST_NAME converthtmltoplaintexttest
NAME_PREFIX "mimetreeparser-" NAME_PREFIX "mimetreeparser-"
LINK_LIBRARIES Qt5::Test Grantlee5::TextDocument LINK_LIBRARIES Qt5::Test Grantlee5::TextDocument
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
*/ */
#include "converthtmltoplaintexttest.h" #include "converthtmltoplaintexttest.h"
#include "../src/viewer/converthtmltoplaintext.h" #include "../src/themes/default/converthtmltoplaintext.h"
#include <qtest.h> #include <QTest>
ConvertHtmlToPlainTextTest::ConvertHtmlToPlainTextTest(QObject *parent) ConvertHtmlToPlainTextTest::ConvertHtmlToPlainTextTest(QObject *parent)
: QObject(parent) : QObject(parent)
......
...@@ -43,10 +43,10 @@ set(libmimetreeparser_extra_SRCS ...@@ -43,10 +43,10 @@ set(libmimetreeparser_extra_SRCS
#for quotes #for quotes
utils/iconnamecache.cpp utils/iconnamecache.cpp
utils/mimetype.cpp utils/mimetype.cpp
viewer/converthtmltoplaintext.cpp
#HTML Writer #HTML Writer
htmlwriter/filehtmlwriter.cpp htmlwriter/filehtmlwriter.cpp
htmlwriter/queuehtmlwriter.cpp htmlwriter/queuehtmlwriter.cpp
themes/default/converthtmltoplaintext.cpp
themes/default/mailrenderer.cpp themes/default/mailrenderer.cpp
themes/default/htmlblock.cpp themes/default/htmlblock.cpp
) )
......
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
#include "mailrenderer.h" #include "mailrenderer.h"
#include "converthtmltoplaintext.h"
#include "htmlblock.h" #include "htmlblock.h"
#include "interfaces/htmlwriter.h" #include "interfaces/htmlwriter.h"
#include "utils/iconnamecache.h" #include "utils/iconnamecache.h"
#include "viewer/csshelperbase.h" #include "viewer/csshelperbase.h"
#include "viewer/converthtmltoplaintext.h"
#include "viewer/messagepart.h" #include "viewer/messagepart.h"
#include "viewer/objecttreeparser.h" #include "viewer/objecttreeparser.h"
......
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