Use the new QUrl API
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 19 Oct 2011 22:21:08 +0000 (00:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Apr 2012 13:49:35 +0000 (15:49 +0200)
commit3c03878293bf2a155762a61d3a29c958eddbe0b1
treef0a3532d628e4927b1d000292f7bed10baffc1f9
parent36ff2e99f7474c93b3a8f6578a2717dad81034d7
Use the new QUrl API

Use QByteArray::{from,to}PercentEncoding when operating directly on
byte arrays.

Don't use toEncoded/fromEncoded if the final source/destination is a
QString -- QUrl's constructor and toString() are fine for that.

Change-Id: I9349c2c6a12c43b8c5a4a4fca1fa796272ca90fa
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/xmlpatterns/api/qcoloringmessagehandler.cpp
src/xmlpatterns/functions/qstringvaluefns.cpp