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.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/webengine/webview.h b/plugins/webengine/webview.h
new file mode 100644
index 00000000..0b8d0dae
--- /dev/null
+++ b/plugins/webengine/webview.h
@@ -0,0 +1,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;
+};