From 0fe73fcbb9e6a81bd3007e62d7031c56af717571 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 2 Dec 2015 13:25:30 +0100 Subject: Doc: edit QWebEngineCookieStoreClient::FilterRequest docs - Add \brief commands. - Each \variable command needs to be in a separate help topic. - Edit the language Change-Id: Iac9b57ceaca5d3decce83305b8d3d39d54eb09dd Reviewed-by: Joerg Bornemann --- src/core/api/qwebenginecookiestore.cpp | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/core/api/qwebenginecookiestore.cpp b/src/core/api/qwebenginecookiestore.cpp index c0c08f292..51753e87b 100644 --- a/src/core/api/qwebenginecookiestore.cpp +++ b/src/core/api/qwebenginecookiestore.cpp @@ -201,22 +201,33 @@ bool QWebEngineCookieStorePrivate::canSetCookie(const QUrl &firstPartyUrl, const \class QWebEngineCookieStore::FilterRequest \inmodule QtWebEngineCore \since 5.6 + \brief The FilterRequest class specifies the properties of a cookie. - The structure specifies properties of a cookie, and whether it should accepted or not. It is - used as an argument to a filter installed via setCookieFilter(). + The class specifies the properties of a cookie and determines whether the cookie should be + accepted. The class is used as an argument to a filter installed via setCookieFilter(). */ /*! \variable QWebEngineCookieStore::FilterRequest::accepted - Whether the cookie shall be accepted. The default is \c true. + \brief Whether the cookie shall be accepted. + + The default is \c true. +*/ + +/*! \variable QWebEngineCookieStore::FilterRequest::firstPartyUrl - URL of page that triggered the setting of the cookie. + \brief The URL of the page that triggered the setting of the cookie. +*/ + +/*! \variable QWebEngineCookieStore::FilterRequest::cookieLine - Content of the cookie. - \variable QWebEngineCookieStore::FilterRequest::cookieSource - URL of site that sets the cookie. + \brief The content of the cookie. */ +/*! + \variable QWebEngineCookieStore::FilterRequest::cookieSource + \brief The URL of the site that sets the cookie. +*/ /*! \fn void QWebEngineCookieStore::cookieAdded(const QNetworkCookie &cookie) -- cgit v1.2.3