diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-17 22:48:01 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-18 10:47:39 +0300 |
commit | ce06956d314dc8d7080ba96b76f4ee8ad851912a (patch) | |
tree | c01cd1d1e61acb7ef11cbc439f120d7540f3add5 /plugins | |
parent | Pass command line from secondary to primary instance (diff) | |
download | rekonq-ce06956d314dc8d7080ba96b76f4ee8ad851912a.tar.xz |
Show main window
- added Task Manager, showing all plugins, windows and view
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/webengine/webview.cpp | 1 | ||||
-rw-r--r-- | plugins/webengine/webview.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/webengine/webview.cpp b/plugins/webengine/webview.cpp index 1aef01e2..fab941a9 100644 --- a/plugins/webengine/webview.cpp +++ b/plugins/webengine/webview.cpp @@ -23,3 +23,4 @@ WebView::WebView(const QUrl &url, QWidget *parent) : rView(url, parent), view(ne connect(view, &QWebEngineView::titleChanged, this, [this](const QString &title) { emit titleChanged(title); }); view->load(url); } +QString WebView::title() const { return view->title(); } diff --git a/plugins/webengine/webview.h b/plugins/webengine/webview.h index 0b8d0dae..5bb90696 100644 --- a/plugins/webengine/webview.h +++ b/plugins/webengine/webview.h @@ -20,6 +20,8 @@ public: explicit WebView(const QUrl &url = QUrl(), QWidget *parent = nullptr); ~WebView() final = default; + QString title() const override; + private: QWebEngineView *view; }; |