From 616e680aa8af8f5056b5133dd44258c252ca656f Mon Sep 17 00:00:00 2001 From: aqua Date: Tue, 16 Aug 2022 16:19:04 +0300 Subject: Turn WebEngine into a plugin --- plugins/webengine/webengineplugin.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/webengine/webengineplugin.cpp (limited to 'plugins/webengine/webengineplugin.cpp') diff --git a/plugins/webengine/webengineplugin.cpp b/plugins/webengine/webengineplugin.cpp new file mode 100644 index 00000000..cf6811dc --- /dev/null +++ b/plugins/webengine/webengineplugin.cpp @@ -0,0 +1,13 @@ +/* ============================================================ + * The rekonq project + * ============================================================ + * SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2022 aqua + * ============================================================ + * Description: WebEngine plugin View factory + * ============================================================ */ + +#include "webengineplugin.hpp" +#include "webview.h" + +rView *WebEnginePlugin::view(const QUrl &url) { return new WebView(url, nullptr); } -- cgit v1.2.1