aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webview.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-02 15:47:01 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-02 15:47:01 +0200
commita6e6823da845ca14d37d8914c80185257e8c0e62 (patch)
tree1c0126f5a78bc95a6f536d2b091cf762972943c9 /src/webengine/webview.h
parentUpdated documentation (diff)
downloadsmolbote-a6e6823da845ca14d37d8914c80185257e8c0e62.tar.xz
Refactoring TabBar
- cleaned up code - moved to mainwindow/widgets - add Close tabs left/right to context menu
Diffstat (limited to 'src/webengine/webview.h')
-rw-r--r--src/webengine/webview.h3
1 files changed, 3 insertions, 0 deletions
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