TJSonic
11th March 2010, 20:39
Hello. Im trying to write all cookies to the variable and getting an error.
My code
QList<QNetworkCookie> cookies = cookie->allCookies();
error code
D:/my14/../Qt/2010.01-win/qt/include/QtNetwork/../../src/network/access/qnetworkcookiejar.h:69: error: 'QList<QNetworkCookie> QNetworkCookieJar::allCookies() const' is protected
What does it mean "protected"???Seems i cant write in variable...
Documentation says that this function is used for writing cookies in file......
Help please...
My code
QList<QNetworkCookie> cookies = cookie->allCookies();
error code
D:/my14/../Qt/2010.01-win/qt/include/QtNetwork/../../src/network/access/qnetworkcookiejar.h:69: error: 'QList<QNetworkCookie> QNetworkCookieJar::allCookies() const' is protected
What does it mean "protected"???Seems i cant write in variable...
Documentation says that this function is used for writing cookies in file......
Help please...