diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-13 17:49:52 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-13 17:49:52 +0100 |
commit | 4823393a8348674999657670076cf73a612cfb4a (patch) | |
tree | 973fa57a66ed42e3419453888edff8e054b62a5f /src/widgets/webviewtabbar.h | |
parent | Added all QtWebEngineProfile options to ProfileDialog (diff) | |
download | smolbote-4823393a8348674999657670076cf73a612cfb4a.tar.xz |
Swapping profiles now works
Diffstat (limited to 'src/widgets/webviewtabbar.h')
-rw-r--r-- | src/widgets/webviewtabbar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h index 28a9a18..f4fc6e4 100644 --- a/src/widgets/webviewtabbar.h +++ b/src/widgets/webviewtabbar.h @@ -12,7 +12,9 @@ public: WebViewTabBar(QWidget *parent = 0); ~WebViewTabBar(); - int addTab(QWebEngineView *view); + int addTab(QWebEngineProfile *profile, const QUrl &url); + void setProfile(QWebEngineProfile *profile); + QWebEngineView *currentView(); signals: |