25 QQmlEngine::setObjectOwnership(
this, QQmlEngine::CppOwnership);
33 return m_cookie->domain();
41 return m_cookie->expirationDate();
49 return QString(QString::fromUtf8(m_cookie->name()));
57 return m_cookie->path();
65 return m_cookie->isSecure();
73 return m_cookie->isSessionCookie();
81 return QString(QString::fromUtf8(m_cookie->value()));
QmlCookie(QNetworkCookie *cookie, QObject *parent=nullptr)
QString domain
domain of the cookie
bool session
checks if cookie is a session cookie
QString name
name of the cookie
QDateTime expirationDate
expiration date of the cookie
QString path
path of the cookie
bool secure
checks if cookie is secure
QString value
value of the cookie