summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2012-07-26 14:52:42 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-26 20:18:47 +0200
commit51742cd332939d389b02c09bec8a503d6e9467a9 (patch)
tree5709cb102072ba9a72351df218a81ad07687ddf8 /src/corelib
parent281d4995ec2fce19ac008635836863e070e94ac7 (diff)
Fix several QUrl qdoc errors
Change-Id: I2b89751ed2ec54f3b992c5fc4b39539d521c3404 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/doc/src/external-resources.qdoc17
-rw-r--r--src/corelib/io/qurl.cpp17
2 files changed, 27 insertions, 7 deletions
diff --git a/src/corelib/doc/src/external-resources.qdoc b/src/corelib/doc/src/external-resources.qdoc
index 94208f21a0..0326ee76de 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 e923901f32..4897e5b07c 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)
{