summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-07-21 17:59:00 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-07-21 18:52:31 (GMT)
commit78cba11c4d2d0620d51d3201255589f81bb60d8e (patch)
tree41a8d3aba12968f5d01098f7378d24a0b75a5113 /src/corelib/io
parentb1612707a9beab757847bbb1a7924c44b65e74b9 (diff)
downloadQt-78cba11c4d2d0620d51d3201255589f81bb60d8e.zip
Qt-78cba11c4d2d0620d51d3201255589f81bb60d8e.tar.gz
Qt-78cba11c4d2d0620d51d3201255589f81bb60d8e.tar.bz2
Doc: Fixed the example of an encoded URL in the class description.
Task-number: QTBUG-20398 (cherry picked from commit 88b4736d8085db27abbe54ac6ece86f9badf154a)
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qurl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 4226f9e..60a4ce3 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -63,8 +63,9 @@
unencoded representation is suitable for showing to users, but
the encoded representation is typically what you would send to
a web server. For example, the unencoded URL
- "http://b\uuml\c{}hler.example.com" would be sent to the server as
- "http://xn--bhler-kva.example.com/List%20of%20applicants.xml".
+ "http://b\uuml\c{}hler.example.com/List of applicants.xml" would be sent to the server as
+ "http://xn--bhler-kva.example.com/List%20of%20applicants.xml",
+ and this can be verified by calling the toEncoded() function.
A URL can also be constructed piece by piece by calling
setScheme(), setUserName(), setPassword(), setHost(), setPort(),