From fcd11edde50d65f272cfc1ebf211697d778af77e Mon Sep 17 00:00:00 2001 From: aqua Date: Tue, 23 Aug 2022 10:28:54 +0300 Subject: Add RekonqView_fake class --- src/test/rview_fake.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/test/rview_fake.h (limited to 'src/test/rview_fake.h') diff --git a/src/test/rview_fake.h b/src/test/rview_fake.h new file mode 100644 index 00000000..64a8351d --- /dev/null +++ b/src/test/rview_fake.h @@ -0,0 +1,24 @@ +#pragma once + +#include + +namespace Ui { +class RekonqView_fake; +} +class RekonqView_fake final : public RekonqView { + Q_OBJECT + +public: + explicit RekonqView_fake(QWidget *parent = nullptr); + ~RekonqView_fake() override; + + void load(const QUrl &url) override; + int progress() const override; + + QIcon icon() const override; + QString title() const override; + QUrl url() const override; + +private: + Ui::RekonqView_fake *ui; +}; -- cgit v1.2.1