From a6e6823da845ca14d37d8914c80185257e8c0e62 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 2 Apr 2018 15:47:01 +0200 Subject: Refactoring TabBar - cleaned up code - moved to mainwindow/widgets - add Close tabs left/right to context menu --- src/webengine/webview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/webengine/webview.h') diff --git a/src/webengine/webview.h b/src/webengine/webview.h index 1fab1db..0750aee 100644 --- a/src/webengine/webview.h +++ b/src/webengine/webview.h @@ -14,6 +14,7 @@ class QMenu; class MainWindow; +class WebEngineProfile; class WebView : public QWebEngineView { Q_OBJECT @@ -62,4 +63,6 @@ private: QWebEnginePage *m_devToolsPage; }; +WebView *createWebView(const QUrl &url, WebEngineProfile *profile, MainWindow *parent); + #endif // SMOLBOTE_WEBVIEW_H -- cgit v1.2.1