summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-05 11:27:13 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-05 11:27:13 (GMT)
commit6e467dffdf11bd0c962b2fc8a5b835e64ccecea7 (patch)
tree75bbe1b9c13f3166a1b66ff1dc82be328a15f76f
parentbc38aa480d412e498e6f0561305bae0bf51fbce9 (diff)
Forward method
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.cpp5
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.cpp b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
index 8d5ea9e..c430696 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
@@ -373,3 +373,8 @@ void MailWebEngineView::dropEvent(QDropEvent *e)
Q_UNUSED(e);
qDebug() << " MailWebEngineView::dropEvent";
}
+
+void MailWebEngineView::setPrintElementBackground(bool printElementBackground)
+{
+ d->mPageEngine->setPrintElementBackground(printElementBackground);
+}
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.h b/messageviewer/src/viewer/webengine/mailwebengineview.h
index 6571cf9..a94c064 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.h
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.h
@@ -66,6 +66,9 @@ public:
void toggleFullAddressList(const QString &field, const boost::function<QString()> &delayedHtml);
void executeCustomRenderingScripts();
+
+ void setPrintElementBackground(bool printElementBackground);
+
public Q_SLOTS:
void slotZoomChanged(qreal zoom);
void slotShowDetails();