22#include <QNetworkCookie>
44 Q_PROPERTY(QString
name READ
name CONSTANT)
49 Q_PROPERTY(QString
path READ
path CONSTANT)
66 explicit QmlCookie(QNetworkCookie *cookie, QObject *parent =
nullptr);
69 QNetworkCookie *m_cookie =
nullptr;
77 QString
value()
const;
The class exposing QNetworkCookie to QML.
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
Q_DECLARE_METATYPE(FlashCookie)