From: Jeremy Katz Date: Thu, 26 Jul 2012 12:52:42 +0000 (+0200) Subject: Fix several QUrl qdoc errors X-Git-Tag: v5.0.0-beta1~583 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51742cd332939d389b02c09bec8a503d6e9467a9;p=profile%2Fivi%2Fqtbase.git Fix several QUrl qdoc errors Change-Id: I2b89751ed2ec54f3b992c5fc4b39539d521c3404 Reviewed-by: Casper van Donderen --- diff --git a/src/corelib/doc/src/external-resources.qdoc b/src/corelib/doc/src/external-resources.qdoc index 94208f2..0326ee7 100644 --- a/src/corelib/doc/src/external-resources.qdoc +++ b/src/corelib/doc/src/external-resources.qdoc @@ -44,4 +44,19 @@ /*! \externalpage http://www.iso.org/iso/catalogue_detail?csnumber=40874 \title ISO 8601 -*/ \ No newline at end of file +*/ + +/*! + \externalpage http://www.ietf.org/rfc/rfc3986.txt + \title RFC 3986 +*/ + +/*! + \externalpage http://www.ietf.org/rfc/rfc1738.txt + \title RFC 1738 +*/ + +/*! + \externalpage http://www.ietf.org/rfc/rfc3941.txt + \title RFC 3491 +*/ diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index e923901..4897e5b 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -174,7 +174,7 @@ */ /*! - \enum QUrl::FormattingOptions + \enum QUrl::UrlFormattingOption The formatting options define how the URL is formatted when written out as text. @@ -204,7 +204,7 @@ */ /*! - \enum QUrl::ComponentFormattingOptions + \enum QUrl::ComponentFormattingOption \since 5.0 The component formatting options define how the components of an URL will @@ -232,7 +232,7 @@ \value EncodeReserved Leave the US-ASCII reserved characters in their encoded forms. - \value DecodeReseved Decode the US-ASCII reserved characters. + \value DecodeReserved Decode the US-ASCII reserved characters. \value FullyEncoded Leave all characters in their properly-encoded form, as this component would appear as part of a URL. When @@ -1651,7 +1651,7 @@ QString QUrl::scheme() const use the delimiter characters as non-delimiters (e.g., a password containing a '@'). - \sa setUserInfo, setHost, setPort + \sa setUserInfo(), setHost(), setPort() */ void QUrl::setAuthority(const QString &authority, ParsingMode mode) { @@ -1941,7 +1941,7 @@ void QUrl::setHost(const QString &host, ParsingMode mode) All other flags are ignored. Host names cannot contain control or percent characters, so the returned value can be considered fully decoded. - \sa setHost(), idnWhiteList(), setIdnWhiteList(), authority() + \sa setHost(), idnWhitelist(), setIdnWhitelist(), authority() */ QString QUrl::host(ComponentFormattingOptions options) const { @@ -2260,6 +2260,9 @@ bool QUrl::hasFragment() const Note that the return value is prefixed with a '.' unless the URL does not contain a valid TLD, in which case the function returns an empty string. + + If \a options includes EncodeUnicode, the returned string will be in + ASCII Compatible Encoding. */ QString QUrl::topLevelDomain(ComponentFormattingOptions options) const { @@ -2996,7 +2999,9 @@ QString QUrl::errorString() const \relates QHash \since 5.0 - Returns the hash value for the \a url. + Returns the hash value for the \a url. If specified, \a seed is used to + initialize the hash. + */ uint qHash(const QUrl &url, uint seed) {