summaryrefslogtreecommitdiff
path: root/plugins/webengine/webview.h
blob: 0b8d0dae3d1270838e7859e0fa6efc4388a8f9a0 (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
/* ============================================================
 *     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;

private:
  QWebEngineView *view;
};