diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-15 21:21:01 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-15 21:21:01 +0100 |
commit | 930c972169249251ef238a454d0126f2b7fec2c5 (patch) | |
tree | c94de07dee48b089a04a412cbd1b0a76b7990ab3 /src/webengine/webview.h | |
parent | Using Q_CHECK_PTR instead of Q_ASSERT on pointers (diff) | |
download | smolbote-930c972169249251ef238a454d0126f2b7fec2c5.tar.xz |
WebView pageMenu implementation
Diffstat (limited to 'src/webengine/webview.h')
-rw-r--r-- | src/webengine/webview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webengine/webview.h b/src/webengine/webview.h index 95d12d9..deecd35 100644 --- a/src/webengine/webview.h +++ b/src/webengine/webview.h @@ -31,12 +31,13 @@ public: explicit WebView(QWidget *parent = nullptr); ~WebView(); - QMenu *menu(); + QMenu *pageMenu(); void setPage(QWebEnginePage *page); signals: void linkHovered(const QString &url); + void newBookmark(const QString &title, const QUrl &url); private slots: void handleLinkHovered(const QString &url); |