#include <qnetworkcookie.h>
Definition at line 62 of file qnetworkcookie.h.
Public Types | |
enum | RawForm { NameAndValueOnly, Full } |
Public Member Functions | |
QNetworkCookie (const QByteArray &name=QByteArray(), const QByteArray &value=QByteArray()) | |
QNetworkCookie (const QNetworkCookie &other) | |
~QNetworkCookie () | |
QNetworkCookie & | operator= (const QNetworkCookie &other) |
bool | operator== (const QNetworkCookie &other) const |
bool | operator!= (const QNetworkCookie &other) const |
bool | isSecure () const |
void | setSecure (bool enable) |
bool | isHttpOnly () const |
void | setHttpOnly (bool enable) |
bool | isSessionCookie () const |
QDateTime | expirationDate () const |
void | setExpirationDate (const QDateTime &date) |
QString | domain () const |
void | setDomain (const QString &domain) |
QString | path () const |
void | setPath (const QString &path) |
QByteArray | name () const |
void | setName (const QByteArray &cookieName) |
QByteArray | value () const |
void | setValue (const QByteArray &value) |
QByteArray | toRawForm (RawForm form=Full) const |
Static Public Member Functions | |
static QList< QNetworkCookie > | parseCookies (const QByteArray &cookieString) |
Friends | |
class | QNetworkCookiePrivate |
enum RawForm |
Enumerator | |
---|---|
NameAndValueOnly | |
Full |
Definition at line 65 of file qnetworkcookie.h.
QNetworkCookie | ( | const QByteArray & | name = QByteArray() , |
const QByteArray & | value = QByteArray() |
||
) |
QNetworkCookie | ( | const QNetworkCookie & | other | ) |
~QNetworkCookie | ( | ) |
QNetworkCookie& operator= | ( | const QNetworkCookie & | other | ) |
bool operator== | ( | const QNetworkCookie & | other | ) | const |
|
inline |
Definition at line 75 of file qnetworkcookie.h.
bool isSecure | ( | ) | const |
void setSecure | ( | bool | enable | ) |
bool isHttpOnly | ( | ) | const |
void setHttpOnly | ( | bool | enable | ) |
bool isSessionCookie | ( | ) | const |
QDateTime expirationDate | ( | ) | const |
QString domain | ( | ) | const |
QString path | ( | ) | const |
QByteArray name | ( | ) | const |
void setName | ( | const QByteArray & | cookieName | ) |
QByteArray value | ( | ) | const |
void setValue | ( | const QByteArray & | value | ) |
QByteArray toRawForm | ( | RawForm | form = Full | ) | const |
|
static |
|
friend |
Definition at line 105 of file qnetworkcookie.h.