aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webview.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-15 21:21:01 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-15 21:21:01 +0100
commit930c972169249251ef238a454d0126f2b7fec2c5 (patch)
treec94de07dee48b089a04a412cbd1b0a76b7990ab3 /src/webengine/webview.h
parentUsing Q_CHECK_PTR instead of Q_ASSERT on pointers (diff)
downloadsmolbote-930c972169249251ef238a454d0126f2b7fec2c5.tar.xz
WebView pageMenu implementation
Diffstat (limited to 'src/webengine/webview.h')
-rw-r--r--src/webengine/webview.h3
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);