Commit 976b543c authored by Sandro Knauß's avatar Sandro Knauß

Adopt move of CSSHelperBase

parent 2449e391
......@@ -69,7 +69,7 @@ set(KDEPIMLIBS_LIB_VERSION "5.2.40")
set(GRAVATAR_LIB_VERSION "5.2.40")
set(INCIDENCEEDITOR_LIB_VERSION "5.2.40")
set(KTNEF_LIB_VERSION "5.2.40")
set(MESSAGELIB_LIB_VERSION "5.2.84")
set(MESSAGELIB_LIB_VERSION "5.2.85")
set(AKONADICALENDAR_LIB_VERSION "5.2.40")
set(CALENDAR_UTILS_VERSION "5.2.41")
......
......@@ -23,7 +23,7 @@
#include "testobjecttreesource.h"
#include <MimeTreeParser/ObjectTreeParser>
#include <MimeTreeParser/CSSHelperBase>
#include <MessageViewer/CSSHelperBase>
#include <MimeTreeParser/FileHtmlWriter>
#include <KMime/Message>
......@@ -69,7 +69,7 @@ void RenderTest::testRender()
// render the mail
MimeTreeParser::FileHtmlWriter fileWriter(outFileName);
QImage paintDevice;
MimeTreeParser::CSSHelperBase cssHelper(&paintDevice);
MessageViewer::CSSHelperBase cssHelper(&paintDevice);
MimeTreeParser::NodeHelper nodeHelper;
TestObjectTreeSource testSource(&fileWriter, &cssHelper);
MimeTreeParser::ObjectTreeParser otp(&testSource, &nodeHelper);
......
......@@ -22,14 +22,14 @@
#define MESSAGECORE_TESTS_UTIL_H
#include <MessageViewer/ObjectTreeEmptySource>
#include <MimeTreeParser/CSSHelperBase>
#include <MessageViewer/CSSHelperBase>
#include <MimeTreeParser/AttachmentStrategy>
class TestObjectTreeSource : public MessageViewer::EmptySource
{
public:
TestObjectTreeSource(MimeTreeParser::HtmlWriter *writer,
MimeTreeParser::CSSHelperBase *cssHelper)
MessageViewer::CSSHelperBase *cssHelper)
: mWriter(writer)
, mCSSHelper(cssHelper)
, mHtmlLoadExternal(false)
......@@ -41,7 +41,7 @@ public:
return mWriter;
}
MimeTreeParser::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE {
MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE {
return mCSSHelper;
}
......@@ -109,7 +109,7 @@ public:
private:
MimeTreeParser::HtmlWriter *mWriter;
MimeTreeParser::CSSHelperBase *mCSSHelper;
MessageViewer::CSSHelperBase *mCSSHelper;
bool mHtmlLoadExternal;
bool mHtmlMail;
};
......
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