summaryrefslogtreecommitdiff
path: root/src/test/rview_fake.h
blob: ebebe97722fdd7b0037a4b3bc9d430bea1fa0894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ============================================================
 *     The rekonq project
 * ============================================================
 * SPDX-License-Identifier: GPL-3.0-only
 * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net>
 * ============================================================ */

#pragma once

#include <rview.hpp>

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;

public slots:
  void back() override {}
  void forward() override {}
  void refresh() override {}
  void reload() override {}

private:
  Ui::RekonqView_fake *ui;
};