From 0f64c6ae03a583e1fb060d87fc9b9dedf3b14dd6 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Thu, 26 Nov 2015 17:19:31 +0100 Subject: Rename QWebEngineCookieStoreClient to QWebEngineCookieStore Change-Id: I8f9a4c5c155a65ede24908799218fd867db0767c Reviewed-by: Joerg Bornemann --- tests/quicktestbrowser/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/quicktestbrowser') diff --git a/tests/quicktestbrowser/main.cpp b/tests/quicktestbrowser/main.cpp index 167f67dc3..12ebfa2d5 100644 --- a/tests/quicktestbrowser/main.cpp +++ b/tests/quicktestbrowser/main.cpp @@ -52,7 +52,7 @@ typedef QGuiApplication Application; #include #include #include -#include +#include static QUrl startupUrl() { @@ -93,12 +93,12 @@ int main(int argc, char **argv) , QUrl()); QObject *profile = component.create(); const QMetaObject *rootMeta = rootObject->metaObject(); - QWebEngineCookieStoreClient *client = 0; - QMetaObject::invokeMethod(profile, "cookieStoreClient", Q_RETURN_ARG(QWebEngineCookieStoreClient*, client)); + QWebEngineCookieStore *client = 0; + QMetaObject::invokeMethod(profile, "cookieStore", Q_RETURN_ARG(QWebEngineCookieStore*, client)); int index = rootMeta->indexOfProperty("thirdPartyCookiesEnabled"); Q_ASSERT(index != -1); QMetaProperty thirdPartyCookiesProperty = rootMeta->property(index); - client->setCookieFilter([rootObject,&thirdPartyCookiesProperty](const QWebEngineCookieStoreClient::FilterRequest&){ return thirdPartyCookiesProperty.read(rootObject).toBool(); }); + client->setCookieFilter([rootObject,&thirdPartyCookiesProperty](const QWebEngineCookieStore::FilterRequest&){ return thirdPartyCookiesProperty.read(rootObject).toBool(); }); index = rootMeta->indexOfProperty("testProfile"); Q_ASSERT(index != -1); -- cgit v1.2.3