From e2382d300c2620d476ba2afad210a7ed0424bf8c Mon Sep 17 00:00:00 2001 From: Adam Kallai Date: Mon, 6 Jan 2014 06:30:02 -0800 Subject: Implement QQuickWebEngineLoadRequest class It contains information about a requested load of a web page. Change-Id: Ie45706adb51ee5bce98e7af01252d9a8389db57d Reviewed-by: Pierre Rossi Reviewed-by: Andras Becsi --- src/webengine/plugin/plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/webengine/plugin/plugin.cpp') diff --git a/src/webengine/plugin/plugin.cpp b/src/webengine/plugin/plugin.cpp index 751916364..dd36bc6b7 100644 --- a/src/webengine/plugin/plugin.cpp +++ b/src/webengine/plugin/plugin.cpp @@ -42,6 +42,7 @@ #include #include "qquickwebengineview_p.h" +#include "qquickwebengineloadrequest_p.h" QT_BEGIN_NAMESPACE @@ -55,6 +56,7 @@ public: Q_ASSERT(QLatin1String(uri) == QLatin1String("QtWebEngine")); qmlRegisterType(uri, 1, 0, "WebEngineView"); + qmlRegisterUncreatableType(uri, 1, 0, "WebEngineLoadRequest", QObject::tr("Cannot create separate instance of WebEngineLoadRequest")); } }; -- cgit v1.2.1