aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebViewStack.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-30 19:16:07 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-30 19:16:37 +0530
commit4f945367ebc8e34263acbfca0416e3f75653924e (patch)
treeaff34361a2b2160aea284df9b619193917bcbc88 /src/widgets/WebViewStack.hpp
parente690963fb6c0240171236fc2d669f95ee26b6798 (diff)
downloadnull-browser-4f945367ebc8e34263acbfca0416e3f75653924e.tar.gz
null-browser-4f945367ebc8e34263acbfca0416e3f75653924e.zip
Update window title on tab change + refactoring
Diffstat (limited to 'src/widgets/WebViewStack.hpp')
-rw-r--r--src/widgets/WebViewStack.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp
index 40c2184..0f0d923 100644
--- a/src/widgets/WebViewStack.hpp
+++ b/src/widgets/WebViewStack.hpp
@@ -45,6 +45,9 @@ public:
/// @deprecated TODO: Remove
uint32_t current_webview_index();
+signals:
+ void current_webview_changed(int index);
+
protected:
void set_current_url(const QUrl &url);
WebView *create_new_webview(const QUrl &url, bool focus = false);