NetworkCookieJar Class Reference
Sub-class of QNetworkCookieJar, needed for cookie saving.
More...
#include <networkcookiejar.h>
List of all members.
Public Member Functions |
| NetworkCookieJar (QObject *parent=0) |
| Constructor.
|
void | setAllCookies (const QList< QNetworkCookie > &cookieList) |
| Sets all network cookies.
|
QList< QNetworkCookie > | allCookies () const |
| Gets all networks cookies.
|
bool | setCookiesFromUrl (const QList< QNetworkCookie > &cookieList, const QUrl &url) |
| Sets network cookies from url.
|
QList< QNetworkCookie > | cookiesForUrl (const QUrl &url) const |
| Empty implementation.
|
Private Attributes |
QList< QNetworkCookie > | m_cookieList |
| Placeholder for network cookies.
|
Detailed Description
Sub-class of QNetworkCookieJar, needed for cookie saving.
- Author:
- Henri Lampela
Constructor & Destructor Documentation
NetworkCookieJar::NetworkCookieJar |
( |
QObject * |
parent = 0 |
) |
[explicit] |
Constructor.
- Parameters:
-
| parent | Instance of parent |
Member Function Documentation
QList< QNetworkCookie > NetworkCookieJar::allCookies |
( |
|
) |
const |
Gets all networks cookies.
- Returns:
- QList<QNetworkCookie> Network cookie list
QList< QNetworkCookie > NetworkCookieJar::cookiesForUrl |
( |
const QUrl & |
url |
) |
const |
Empty implementation.
- Parameters:
-
- Returns:
- QList<QNetworkCookie> Network cookie list
void NetworkCookieJar::setAllCookies |
( |
const QList< QNetworkCookie > & |
cookieList |
) |
|
Sets all network cookies.
- Parameters:
-
| cookieList | Network cookie list |
bool NetworkCookieJar::setCookiesFromUrl |
( |
const QList< QNetworkCookie > & |
cookieList, |
|
|
const QUrl & |
url | |
|
) |
| | |
Sets network cookies from url.
- Parameters:
-
| cookieList | Network cookie list |
| url | Url |
- Returns:
- bool Return value
The documentation for this class was generated from the following files: