42 #ifndef QNETWORKCOOKIE_H 43 #define QNETWORKCOOKIE_H 45 #include <QtCore/QSharedDataPointer> 46 #include <QtCore/QList> 47 #include <QtCore/QMetaType> 48 #include <QtCore/QObject> 76 {
return !(*
this == other); }
78 bool isSecure()
const;
79 void setSecure(
bool enable);
80 bool isHttpOnly()
const;
81 void setHttpOnly(
bool enable);
83 bool isSessionCookie()
const;
85 void setExpirationDate(
const QDateTime &date);
88 void setDomain(
const QString &domain);
91 void setPath(
const QString &path);
109 #ifndef QT_NO_DEBUG_STREAM 117 #include <QtNetwork/QNetworkCookieJar> The QDebug class provides an output stream for debugging information.
#define QT_END_NAMESPACE
This macro expands to.
QSharedDataPointer< QNetworkCookiePrivate > d
The QByteArray class provides an array of bytes.
RawForm
This enum is used with the toRawForm() function to declare which form of a cookie shall be returned...
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_NETWORK_EXPORT QDebug operator<<(QDebug, const QNetworkCookie &)
The QNetworkCookie class holds one network cookie.
The QDateTime class provides date and time functions.
bool operator!=(const QNetworkCookie &other) const
Returns true if this cookie is not equal to other.
bool operator==(QBool b1, bool b2)
Q_DECLARE_TYPEINFO(QNetworkCookie, Q_MOVABLE_TYPE)