Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/TinyWebBrowser.h
Context not available. | |||||
16 | #include <QByteArray> | 16 | #include <QByteArray> | ||
---|---|---|---|---|---|
17 | #include <QString> | 17 | #include <QString> | ||
18 | #include <QUrl> | 18 | #include <QUrl> | ||
19 | #include <QWebView> | 19 | #include <QWebEngineView> | ||
20 | 20 | | |||
21 | // Marble | 21 | // Marble | ||
22 | #include "marble_export.h" | 22 | #include "marble_export.h" | ||
Context not available. | |||||
32 | * disabled per default and instead opens every link in the default web | 32 | * disabled per default and instead opens every link in the default web | ||
33 | * browser of the user. | 33 | * browser of the user. | ||
34 | */ | 34 | */ | ||
35 | class MARBLE_EXPORT TinyWebBrowser : public QWebView | 35 | class MARBLE_EXPORT TinyWebBrowser : public QWebEngineView | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | 38 | | |||
Context not available. | |||||
48 | void statusMessage( QString ); | 48 | void statusMessage( QString ); | ||
49 | 49 | | |||
50 | protected: | 50 | protected: | ||
51 | QWebView *createWindow( QWebPage::WebWindowType type ); | 51 | QWebEngineView *createWindow( QWebEnginePage::WebWindowType type ); | ||
52 | 52 | | |||
53 | private Q_SLOTS: | 53 | private Q_SLOTS: | ||
54 | void openExternalLink( QUrl ); | 54 | void openExternalLink( QUrl ); | ||
Context not available. |