From bec2be57891f87f2b8bc046bb212be4788f96033 Mon Sep 17 00:00:00 2001 From: Szabolcs David Date: Wed, 1 Jun 2016 08:56:09 -0700 Subject: Make QQuickWebEngineScript a publicly exported class Now the users can create user scripts when they are working with QQuickWebEngineProfiles in C++. Change-Id: I6ada78b1fc44c3f93589eb468578c330a1be9c6f Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Leena Miettinen --- src/webengine/api/qquickwebengineprofile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/webengine/api/qquickwebengineprofile.cpp') diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp index c88c7faf8..162dbe1d7 100644 --- a/src/webengine/api/qquickwebengineprofile.cpp +++ b/src/webengine/api/qquickwebengineprofile.cpp @@ -42,7 +42,7 @@ #include "qquickwebenginedownloaditem_p.h" #include "qquickwebenginedownloaditem_p_p.h" #include "qquickwebengineprofile_p.h" -#include "qquickwebenginescript_p_p.h" +#include "qquickwebenginescript_p.h" #include "qquickwebenginesettings_p.h" #include "qwebenginecookiestore.h" @@ -901,6 +901,8 @@ QQuickWebEngineSettings *QQuickWebEngineProfile::settings() const \brief the collection of scripts that are injected into all pages that share this profile. + + \sa QQuickWebEngineScript, QQmlListReference */ QQmlListProperty QQuickWebEngineProfile::userScripts() { -- cgit v1.2.3