7#include <QtNetwork/qtnetworkglobal.h>
9#include <QtCore/qshareddata.h>
10#include <QtCore/qflags.h>
11#include <QtCore/qurl.h>
41 void setIncludesSubDomains(
bool include);
42 bool includesSubDomains()
const;
44 bool isExpired()
const;
51 {
return lhs.isEqual(rhs); }
53 {
return !lhs.isEqual(rhs); }
static bool isEqual(const aiUVTransform &a, const aiUVTransform &b)
\inmodule QtCore\reentrant
The QHstsPolicy class specifies that a host supports HTTP Strict Transport Security policy (HSTS).
PolicyFlag
\value IncludeSubDomains Indicates whether a policy must include subdomains
QHstsPolicy & operator=(QHstsPolicy &&other) noexcept
friend bool operator!=(const QHstsPolicy &lhs, const QHstsPolicy &rhs)
Returns true if the two policies lhs and rhs do not have the same host or expiration date,...
friend bool operator==(const QHstsPolicy &lhs, const QHstsPolicy &rhs)
Returns true if the two policies lhs and rhs have the same host and expiration date while agreeing on...
void swap(QHstsPolicy &other) noexcept
Swaps this policy with the other policy.
\macro QT_RESTRICTED_CAST_FROM_ASCII
ParsingMode
The parsing mode controls the way QUrl parses strings.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)