TreeFrogFramework  2.8
Public Member Functions | Static Public Member Functions | List of all members
TCookie Class Reference

#include <tcookie.h>

Inheritance diagram for TCookie:
Inheritance graph
[legend]
Collaboration diagram for TCookie:
Collaboration graph
[legend]

Public Member Functions

 TCookie (const QByteArray &name=QByteArray(), const QByteArray &value=QByteArray())
 
 TCookie (const TCookie &other)
 
 TCookie (const QNetworkCookie &other)
 
 ~TCookie ()
 
TCookieoperator= (const TCookie &other)
 
int64_t maxAge () const
 
void setMaxAge (int64_t maxAge)
 
QByteArray sameSite () const
 
bool setSameSite (const QByteArray &sameSite)
 
void swap (TCookie &other)
 
QByteArray toRawForm (QNetworkCookie::RawForm form=QNetworkCookie::Full) const
 
bool operator!= (const TCookie &other) const
 
bool operator== (const TCookie &other) const
 

Static Public Member Functions

static QList< TCookieparseCookies (const QByteArray &cookieString)
 

Detailed Description

The TCookie class holds one network cookie.

See also
TCookieJar

Constructor & Destructor Documentation

◆ TCookie() [1/3]

TCookie::TCookie ( const QByteArray &  name = QByteArray(),
const QByteArray &  value = QByteArray() 
)

◆ TCookie() [2/3]

TCookie::TCookie ( const TCookie other)

◆ TCookie() [3/3]

TCookie::TCookie ( const QNetworkCookie &  other)

◆ ~TCookie()

TCookie::~TCookie ( )
inline

Member Function Documentation

◆ maxAge()

int64_t TCookie::maxAge ( ) const
inline

◆ operator!=()

bool TCookie::operator!= ( const TCookie other) const

◆ operator=()

TCookie & TCookie::operator= ( const TCookie other)

◆ operator==()

bool TCookie::operator== ( const TCookie other) const

◆ parseCookies()

QList< TCookie > TCookie::parseCookies ( const QByteArray &  cookieString)
static

◆ sameSite()

QByteArray TCookie::sameSite ( ) const
inline

◆ setMaxAge()

void TCookie::setMaxAge ( int64_t  maxAge)
inline

◆ setSameSite()

bool TCookie::setSameSite ( const QByteArray &  sameSite)

◆ swap()

void TCookie::swap ( TCookie other)

◆ toRawForm()

QByteArray TCookie::toRawForm ( QNetworkCookie::RawForm  form = QNetworkCookie::Full) const

The documentation for this class was generated from the following files: