diff --git a/src/Gui/EmbeddedWebView.h b/src/Gui/EmbeddedWebView.h index 9ac83d15..e20490fc 100644 --- a/src/Gui/EmbeddedWebView.h +++ b/src/Gui/EmbeddedWebView.h @@ -22,19 +22,19 @@ #ifndef EMBEDDEDWEBVIEW_H #define EMBEDDEDWEBVIEW_H -#include -#include +// #include +#include namespace Gui { -/** @short An embeddable QWebView with some safety checks and modified resizing +/** @short An embeddable QWebEngineView with some safety checks and modified resizing - This class configures the QWebView in such a way that it will prevent certain + This class configures the QWebEngineView in such a way that it will prevent certain dangerous (or unexpected, in the context of a MUA) features from being invoked. - Another function is to configure the QWebView in such a way that it resizes + Another function is to configure the QWebEngineView in such a way that it resizes itself to show all required contents. Note that you still have to provide a proper eventFilter in the parent widget @@ -43,7 +43,7 @@ namespace Gui @see Gui::MessageView */ -class EmbeddedWebView: public QWebView +class EmbeddedWebView: public QWebEngineView { Q_OBJECT public: @@ -91,7 +91,7 @@ protected: ColorScheme m_colorScheme; }; -class ErrorCheckingPage: public QWebPage +class ErrorCheckingPage: public QWebEnginePage { Q_OBJECT public: