summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-03 15:09:32 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-06 16:58:04 +0000
commit4bf0ddb3f1e07ddb88cbffa2973be6b77c31fd1d (patch)
treeeddc6c06fc118fb2c2164b6a3fbf74e89d3b6ffa /src/network
parent91120599aee881bd1021087bae91fd1d5de46a4c (diff)
Fix some qdoc warnings for 5.9
Fix warnings: src/network/access/qhstspolicy.cpp:158: warning: Undocumented parameter 'expiry' in QHstsPolicy::setExpiry() src/network/access/qhstspolicy.cpp:178: warning: Undocumented parameter 'include' in QHstsPolicy::setIncludesSubDomains() src/network/access/qhstspolicy.cpp:178: warning: Can't link to 'includeSubdomains()' src/widgets/kernel/qsizepolicy.cpp:402: warning: Cannot find 'transposed(...)' in '\fn' QSizePolicy QSizePolicy::transposed() src/widgets/kernel/qsizepolicy.h:165: warning: No documentation for 'QSizePolicy::transposed()' src/widgets/util/qundostack.cpp:164: warning: Undocumented parameter 'obsolete' in QUndoCommand::setObsolete() Fix the signature of the QStaticByteArrayMatcher member functions. The warnings src/corelib/tools/qbytearraymatcher.cpp:372: warning: Cannot find 'indexIn(...)' in '\fn' QStaticByteArrayMatcher::indexIn(const char *haystack, int hlen, int from) src/corelib/tools/qbytearraymatcher.cpp:382: warning: Cannot find 'indexIn(...)' in '\fn' QStaticByteArrayMatcher::indexIn(const QByteArray &haystack, int from) remain, though since apparently qdoc is thrown off by the constructor. Change-Id: I157359a881ff3fbc80d2eeb52dd5c27249d009c4 Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qhstspolicy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/access/qhstspolicy.cpp b/src/network/access/qhstspolicy.cpp
index 2cec587f4d..6922e1d8f9 100644
--- a/src/network/access/qhstspolicy.cpp
+++ b/src/network/access/qhstspolicy.cpp
@@ -156,7 +156,7 @@ QString QHstsPolicy::host(QUrl::ComponentFormattingOptions options) const
}
/*!
- Sets the expiration date for the policy (in UTC).
+ Sets the expiration date for the policy (in UTC) to \a expiry.
\sa expiry()
*/
@@ -176,9 +176,9 @@ QDateTime QHstsPolicy::expiry() const
}
/*!
- Includes or excludes subdomains for this policy.
+ Sets whether subdomains are included for this policy to \a include.
- \sa includeSubdomains()
+ \sa includesSubDomains()
*/
void QHstsPolicy::setIncludesSubDomains(bool include)
{
@@ -196,7 +196,7 @@ bool QHstsPolicy::includesSubDomains() const
}
/*!
- Returns \c true if the two policies have the same host and expriration date
+ Returns \c true if the two policies have the same host and expiration date
while agreeing on whether to include or exclude subdomains.
*/
bool QHstsPolicy::operator==(const QHstsPolicy &other) const