diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-27 15:27:37 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-27 15:35:38 +0300 |
commit | a7465aa35b4efd3bfc4bbd9be4d1572d25a05bb2 (patch) | |
tree | 9dfa5112b52705ae4f0e04f1e43b0307a7806f5a /plugins/webengine/webview.h | |
parent | Add CMakePresets.json (diff) | |
download | rekonq-a7465aa35b4efd3bfc4bbd9be4d1572d25a05bb2.tar.xz |
Rename rView to RekonqView
- move rview.hpp to include/
- move src/mainwindow/* to src/
Diffstat (limited to 'plugins/webengine/webview.h')
-rw-r--r-- | plugins/webengine/webview.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/webengine/webview.h b/plugins/webengine/webview.h index 5bb90696..103b98b3 100644 --- a/plugins/webengine/webview.h +++ b/plugins/webengine/webview.h @@ -13,15 +13,21 @@ class QWebEngineView; -class WebView final : public rView { +class WebView final : public RekonqView { Q_OBJECT public: explicit WebView(const QUrl &url = QUrl(), QWidget *parent = nullptr); ~WebView() final = default; - QString title() const override; + void load(const QUrl &url) override; + [[nodiscard]] int progress() const override { return m_loadProgress; } + + [[nodiscard]] QUrl url() const override; + [[nodiscard]] QString title() const override; + [[nodiscard]] QIcon icon() const override; private: QWebEngineView *view; + int m_loadProgress = 0; }; |