4#ifndef QNETWORKCOOKIE_H
5#define QNETWORKCOOKIE_H
7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtCore/QSharedDataPointer>
10#include <QtCore/QMetaType>
11#include <QtCore/QObject>
48 {
return !(*
this ==
other); }
50 bool isSecure()
const;
51 void setSecure(
bool enable);
52 bool isHttpOnly()
const;
53 void setHttpOnly(
bool enable);
54 SameSite sameSitePolicy()
const;
55 void setSameSitePolicy(SameSite sameSite);
57 bool isSessionCookie()
const;
62 void setDomain(
const QString &domain);
87#ifndef QT_NO_DEBUG_STREAM
\inmodule QtCore\reentrant
The QNetworkCookie class holds one network cookie.
void swap(QNetworkCookie &other) noexcept
bool operator!=(const QNetworkCookie &other) const
Returns true if this cookie is not equal to other.
RawForm
This enum is used with the toRawForm() function to declare which form of a cookie shall be returned.
QNetworkCookie & operator=(QNetworkCookie &&other) noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
employee setName("Richard Schmit")
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Q_NETWORK_EXPORT QDebug operator<<(QDebug, const QNetworkCookie &)
GLsizei const GLchar *const * path
static void normalize(double &x, double &y)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
static QT_BEGIN_NAMESPACE const uint Default
settings setValue("DataPump/bgcolor", color)
QUrl url("example.com")
[constructor-url-reference]