From 1df4983268673e514d700cc4491310da7dd26a26 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 13 May 2015 21:24:48 +0200 Subject: Add invokable to QQuickWebEngineProfile to set cookie client This makes it possible to set a cookie client in the C++ part of a QtQuick application to receive notifications about cookies. Add setting for blocking third party cookies to quicktestbrowser. Change-Id: I627eaab067e92a7be5b36ffed68794e54c7be0e8 Reviewed-by: Allan Sandfeld Jensen --- src/core/api/qwebenginecookiestoreclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/api') diff --git a/src/core/api/qwebenginecookiestoreclient.h b/src/core/api/qwebenginecookiestoreclient.h index 3c01f927d..3a6f54ea7 100644 --- a/src/core/api/qwebenginecookiestoreclient.h +++ b/src/core/api/qwebenginecookiestoreclient.h @@ -89,4 +89,6 @@ private: QT_END_NAMESPACE +Q_DECLARE_METATYPE(QWebEngineCookieStoreClient*) + #endif // QWEBENGINECOOKIESTORECLIENT_H -- cgit v1.2.3