From bd7cd3467334dae70e4cd21a5df6c17e3e3ea4bf Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Thu, 3 May 2012 18:10:19 +0100 Subject: Document new APIs in 5.0 The \since 5.0 directive was missing from many places. Task-number: QTBUG-24001 Change-Id: I191ba8891ae66d78f923164bcab2fccb16eabef9 Reviewed-by: Casper van Donderen --- src/network/access/qnetworkcookiejar.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/network/access/qnetworkcookiejar.cpp') diff --git a/src/network/access/qnetworkcookiejar.cpp b/src/network/access/qnetworkcookiejar.cpp index a7436cb38c..980b02e2ae 100644 --- a/src/network/access/qnetworkcookiejar.cpp +++ b/src/network/access/qnetworkcookiejar.cpp @@ -252,6 +252,7 @@ QList QNetworkCookieJar::cookiesForUrl(const QUrl &url) const } /*! + \since 5.0 Adds \a cookie to this cookie jar. Returns true if \a cookie was added, false otherwise. @@ -276,6 +277,7 @@ bool QNetworkCookieJar::insertCookie(const QNetworkCookie &cookie) } /*! + \since 5.0 If a cookie with the same identifier as \a cookie exists in this cookie jar it will be updated. This function uses insertCookie(). @@ -292,6 +294,7 @@ bool QNetworkCookieJar::updateCookie(const QNetworkCookie &cookie) } /*! + \since 5.0 Deletes from cookie jar the cookie found to have the same identifier as \a cookie. Returns true if a cookie was deleted, false otherwise. @@ -311,6 +314,7 @@ bool QNetworkCookieJar::deleteCookie(const QNetworkCookie &cookie) } /*! + \since 5.0 Returns true if the domain and path of \a cookie are valid, false otherwise. */ bool QNetworkCookieJar::validateCookie(const QNetworkCookie &cookie, const QUrl &url) const -- cgit v1.2.3