summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkcookiejar.cpp
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-05-03 18:10:19 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-03 19:34:58 +0200
commitbd7cd3467334dae70e4cd21a5df6c17e3e3ea4bf (patch)
treef3f22a711d2c525ca65e6218a94562b23050cc2a /src/network/access/qnetworkcookiejar.cpp
parent12dad8357d7449c0ecfc33a8b7b5e33099fa8e7e (diff)
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 <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/network/access/qnetworkcookiejar.cpp')
-rw-r--r--src/network/access/qnetworkcookiejar.cpp4
1 files changed, 4 insertions, 0 deletions
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<QNetworkCookie> 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