summaryrefslogtreecommitdiffstats
path: root/framework/mail/maillistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/mail/maillistmodel.cpp')
-rw-r--r--framework/mail/maillistmodel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/mail/maillistmodel.cpp b/framework/mail/maillistmodel.cpp
index e43351b0..95534cec 100644
--- a/framework/mail/maillistmodel.cpp
+++ b/framework/mail/maillistmodel.cpp
@@ -22,11 +22,12 @@
22 22
23#include "stringhtmlwriter.h" 23#include "stringhtmlwriter.h"
24#include "objecttreesource.h" 24#include "objecttreesource.h"
25#include "csshelper.h"
25 26
26#include <QFile> 27#include <QFile>
27#include <QImage> 28#include <QImage>
28#include <KF5/MessageViewer/ObjectTreeParser> 29#include <MessageViewer/ObjectTreeParser>
29#include <KF5/MessageViewer/CSSHelperBase> 30
30 31
31MailListModel::MailListModel(QObject *parent) 32MailListModel::MailListModel(QObject *parent)
32 : QIdentityProxyModel() 33 : QIdentityProxyModel()
@@ -100,7 +101,7 @@ QVariant MailListModel::data(const QModelIndex &idx, int role) const
100 // render the mail 101 // render the mail
101 StringHtmlWriter htmlWriter; 102 StringHtmlWriter htmlWriter;
102 QImage paintDevice; 103 QImage paintDevice;
103 MessageViewer::CSSHelperBase cssHelper(&paintDevice); 104 CSSHelper cssHelper(&paintDevice);
104 MessageViewer::NodeHelper nodeHelper; 105 MessageViewer::NodeHelper nodeHelper;
105 ObjectTreeSource source(&htmlWriter, &cssHelper); 106 ObjectTreeSource source(&htmlWriter, &cssHelper);
106 MessageViewer::ObjectTreeParser otp(&source, &nodeHelper); 107 MessageViewer::ObjectTreeParser otp(&source, &nodeHelper);