blob: 5bb906966092f19fda1a97fe854e4301786c7daf (
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
|
/* ============================================================
* The rekonq project
* ============================================================
* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net>
* ============================================================
* Description: Qt WebEngine View
* ============================================================ */
#pragma once
#include "rview.hpp"
class QWebEngineView;
class WebView final : public rView {
Q_OBJECT
public:
explicit WebView(const QUrl &url = QUrl(), QWidget *parent = nullptr);
~WebView() final = default;
QString title() const override;
private:
QWebEngineView *view;
};
|