Port to the new QUrl API
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 13 Oct 2011 17:56:28 +0000 (19:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 29 Mar 2012 23:19:59 +0000 (01:19 +0200)
commit74d2dba46041448c70dbd3049ae2a8277770baf6
treeb7745d6387b86768b85a5e772dd654cb91412aa8
parent8cf66c3bc4482bbefad90ce7ad34ac6c3de8478f
Port to the new QUrl API

The use of any broken-down components of the query now needs
QUrlQuery.

The QUrl constructor and toString() are now rehabilitated and the
preferred forms. Use toEncoded() and fromEncoded() now only when we
need to store data in a QByteArray or the data comes from a QByteArray
anyway. Change to toString() or the constructor if the data was in a
QString.

Change-Id: I9d761a628bef9c70185a48e927a61779a1642342
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
13 files changed:
src/corelib/io/qurlquery.cpp
src/gui/text/qtextimagehandler.cpp
src/gui/text/qtextodfwriter.cpp
src/network/access/qhttpnetworkrequest.cpp
src/network/access/qhttpthreaddelegate.cpp
src/network/access/qnetworkaccessdebugpipebackend.cpp
src/network/access/qnetworkreplydataimpl.cpp
src/network/access/qnetworkreplyhttpimpl.cpp
src/testlib/qtest.h
src/widgets/widgets/qtextbrowser.cpp
tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
tests/auto/other/networkselftest/tst_networkselftest.cpp
tests/benchmarks/corelib/io/qurl/main.cpp