diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-12-05 14:38:17 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-12-12 14:48:11 +0100 |
commit | 893b57559f198304b627a594ca5e1c3ac36d0907 (patch) | |
tree | c5092e04171cfb2c3232ec70cd9d20715857c6fc /src/webengine/api/qquickwebenginesingleton.cpp | |
parent | 6ec3268a30a63d5c15258ea6f4f792e21930b093 (diff) |
QML API for WebEngineProfiles
Introduces the QML API for the WebEngineProfiles already implemented
for QtWebEngineWidgets.
[ChangeLog][QtWebEngineQML][QQuickWebEngineProfile] New API for profiles
applying to groups of QQuickWebEnginePages.
Change-Id: Ideccddb9f1fb19628297592fe0cec504c9890e46
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebenginesingleton.cpp')
-rw-r--r-- | src/webengine/api/qquickwebenginesingleton.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebenginesingleton.cpp b/src/webengine/api/qquickwebenginesingleton.cpp index bf4951f3b..280f5b913 100644 --- a/src/webengine/api/qquickwebenginesingleton.cpp +++ b/src/webengine/api/qquickwebenginesingleton.cpp @@ -37,6 +37,7 @@ #include "qquickwebenginesingleton_p.h" #include "qquickwebenginesettings_p.h" +#include "qquickwebengineprofile_p.h" QT_BEGIN_NAMESPACE @@ -45,4 +46,9 @@ QQuickWebEngineSettings *QQuickWebEngineSingleton::settings() const return QQuickWebEngineSettings::globalSettings(); } +QQuickWebEngineProfile *QQuickWebEngineSingleton::defaultProfile() const +{ + return QQuickWebEngineProfile::defaultProfile(); +} + QT_END_NAMESPACE |