summaryrefslogtreecommitdiff
path: root/plugins/webengine/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webengine/webview.h')
-rw-r--r--plugins/webengine/webview.h10
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;
};