Fix several QUrl qdoc errors
authorJeremy Katz <jeremy.katz@nokia.com>
Thu, 26 Jul 2012 12:52:42 +0000 (14:52 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Jul 2012 18:18:47 +0000 (20:18 +0200)
Change-Id: I2b89751ed2ec54f3b992c5fc4b39539d521c3404
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/corelib/doc/src/external-resources.qdoc
src/corelib/io/qurl.cpp

index 94208f2..0326ee7 100644 (file)
 /*!
     \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
+*/
index e923901..4897e5b 100644 (file)
 */
 
 /*!
-    \enum QUrl::FormattingOptions
+    \enum QUrl::UrlFormattingOption
 
     The formatting options define how the URL is formatted when written out
     as text.
 */
 
 /*!
-    \enum QUrl::ComponentFormattingOptions
+    \enum QUrl::ComponentFormattingOption
     \since 5.0
 
     The component formatting options define how the components of an URL will
     \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)
 {