diff options
author | David Boddie <david.boddie@nokia.com> | 2011-07-21 17:59:00 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-07-21 17:59:00 (GMT) |
commit | 88b4736d8085db27abbe54ac6ece86f9badf154a (patch) | |
tree | 3f0e6b5fc0c73c833153bd99af532bdb7f473661 /src | |
parent | 86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a (diff) | |
download | Qt-88b4736d8085db27abbe54ac6ece86f9badf154a.zip Qt-88b4736d8085db27abbe54ac6ece86f9badf154a.tar.gz Qt-88b4736d8085db27abbe54ac6ece86f9badf154a.tar.bz2 |
Doc: Fixed the example of an encoded URL in the class description.
Task-number: QTBUG-20398
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qurl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 2f0fd46..3f49cc6 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(), |