summaryrefslogtreecommitdiffstats
path: root/src/core/api
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-05-13 21:24:48 +0200
committerAndras Becsi <becsi.andras@gmail.com>2015-08-28 08:40:18 +0000
commit1df4983268673e514d700cc4491310da7dd26a26 (patch)
tree7c10172bcb47a0f6956787fc35a5fe8f8437f60e /src/core/api
parentec2b89a03d884c5d767a92eddc264d7dbf702470 (diff)
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 <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/api')
-rw-r--r--src/core/api/qwebenginecookiestoreclient.h2
1 files changed, 2 insertions, 0 deletions
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