diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-11-11 13:56:41 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-18 05:22:14 (GMT) |
commit | d14ccd36799bc84d32fc0ed03e10f300850de6ae (patch) | |
tree | a4ad0ef3719cbf1697624f0cf8aab3988dc39f89 /doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp | |
parent | d495e24314175f73886810a19b6a1b740a71ab5f (diff) | |
download | Qt-d14ccd36799bc84d32fc0ed03e10f300850de6ae.zip Qt-d14ccd36799bc84d32fc0ed03e10f300850de6ae.tar.gz Qt-d14ccd36799bc84d32fc0ed03e10f300850de6ae.tar.bz2 |
QUrl::fromUserInput: improvements, corrections and make the demo
browser use it.
- Handle windows files names by looking for paths first (and don't check
that it exists first)
- Handle host names without dots (it was not handled because of
difficulties with the case host:port)
- Return the parsed url only if the host or the path is not empty
instead of returning a url that looks like "http:"
Reviewed-by: Thiago Macieira
(cherry picked from commit aeea26b384a362e59c335f7932a8b3915c1c8383)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp')
0 files changed, 0 insertions, 0 deletions