summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-17 22:48:01 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-18 10:47:39 +0300
commitce06956d314dc8d7080ba96b76f4ee8ad851912a (patch)
treec01cd1d1e61acb7ef11cbc439f120d7540f3add5 /plugins
parentPass command line from secondary to primary instance (diff)
downloadrekonq-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.cpp1
-rw-r--r--plugins/webengine/webview.h2
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;
};