diff options
author | Martin Smith <martin.smith@qt.io> | 2017-03-16 11:38:52 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2017-12-06 07:12:44 +0000 |
commit | e827fec40f13fa3ce96d8af4f545a3456df550c8 (patch) | |
tree | 2cf8b999bbf992f5756509c48c79c58c628828ce /src/network/access/qhstspolicy.cpp | |
parent | 929ea503938dd1a7b2873b87fd6bb239e2349f3c (diff) |
doc: Add class qualifiers to parameter types
This change supplies several missing class qualifiers for
parameter types and function return types.
Change-Id: I569026e4da0948902fcc13557003d3748b85dd82
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/network/access/qhstspolicy.cpp')
-rw-r--r-- | src/network/access/qhstspolicy.cpp | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/network/access/qhstspolicy.cpp b/src/network/access/qhstspolicy.cpp index ab4695480b..46c9c22510 100644 --- a/src/network/access/qhstspolicy.cpp +++ b/src/network/access/qhstspolicy.cpp @@ -103,9 +103,15 @@ QHstsPolicy::QHstsPolicy() : d(new QHstsPolicyPrivate) } /*! - Constructs QHstsPolicy with \a expiry (in UTC): - - \a host data is interpreted according to \a mode; - - \a flags selects options to apply to this policy. + \enum QHstsPolicy::PolicyFlag + + \value IncludeSubDomains Indicates whether a policy must include subdomains +*/ + +/*! + Constructs QHstsPolicy with \a expiry (in UTC); \a flags is a value indicating + whether this policy must also include subdomains, \a host data is interpreted + according to \a mode. \sa QUrl::setHost(), QUrl::ParsingMode, QHstsPolicy::PolicyFlag */ @@ -213,4 +219,10 @@ bool QHstsPolicy::isExpired() const return !d->expiry.isValid() || d->expiry <= QDateTime::currentDateTimeUtc(); } +/*! + \fn void QHstsPolicy::swap(QHstsPolicy &other) + + Swaps this policy with the \a other policy. +*/ + QT_END_NAMESPACE |