Commit 19129599 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use WebEngineView class

parent 1040e170
...@@ -39,7 +39,7 @@ public: ...@@ -39,7 +39,7 @@ public:
}; };
MailWebEngineView::MailWebEngineView(KActionCollection *ac, QWidget *parent) MailWebEngineView::MailWebEngineView(KActionCollection *ac, QWidget *parent)
: QWebEngineView(parent), : MessageViewer::WebEngineView(parent),
d(new MessageViewer::MailWebEngineViewPrivate) d(new MessageViewer::MailWebEngineViewPrivate)
{ {
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
#ifndef MAILWEBENGINE_H #ifndef MAILWEBENGINE_H
#define MAILWEBENGINE_H #define MAILWEBENGINE_H
#include "messageviewer_export.h" #include "messageviewer_export.h"
#include <QWebEngineView> #include <MessageViewer/WebEngineView>
class KActionCollection; class KActionCollection;
namespace MessageViewer namespace MessageViewer
{ {
class MailWebEngineViewPrivate; class MailWebEngineViewPrivate;
class MESSAGEVIEWER_EXPORT MailWebEngineView : public QWebEngineView class MESSAGEVIEWER_EXPORT MailWebEngineView : public MessageViewer::WebEngineView
{ {
Q_OBJECT Q_OBJECT
public: public:
......
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