30 explicit QmlCookies(QObject *parent =
nullptr);
57 Q_INVOKABLE QList<QObject*>
getAll(
const QVariantMap &map);
76 Q_INVOKABLE
void set(
const QVariantMap &map);
85 Q_INVOKABLE
void remove(
const QVariantMap &map);
97 QNetworkCookie getNetworkCookie(
const QVariantMap &map);
The class exposing QNetworkCookie to QML.
The class exposing Cookies API to QML.
Q_INVOKABLE void set(const QVariantMap &map)
Set a cookie.
QmlCookies(QObject *parent=nullptr)
void changed(const QVariantMap &map)
The signal emitted when a cookie is added or removed.
Q_INVOKABLE QList< QObject * > getAll(const QVariantMap &map)
Get all cookies matching a criteria.
Q_INVOKABLE void remove(const QVariantMap &map)
Remove a cookie.
Q_INVOKABLE QmlCookie * get(const QVariantMap &map)
Get a cookie.