summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-19 10:38:16 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-19 10:38:32 (GMT)
commite5608cd95684a010510b136361415d47cfc53e8a (patch)
tree7eef93936565ee29d17815eb422d737ac8844533 /src/corelib
parentd4249a4539e3afc5d3af2f20610d3ce8f2d58464 (diff)
downloadQt-e5608cd95684a010510b136361415d47cfc53e8a.zip
Qt-e5608cd95684a010510b136361415d47cfc53e8a.tar.gz
Qt-e5608cd95684a010510b136361415d47cfc53e8a.tar.bz2
Clearifying QUrl docs
Adding more details on QUrl::addQueryItem() Task-number: 234125 Rev-by: Thiago Macieira
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qurl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 9ce9a2e..d1a5cdd 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -4759,6 +4759,12 @@ void QUrl::setEncodedQueryItems(const QList<QPair<QByteArray, QByteArray> > &que
Inserts the pair \a key = \a value into the query string of the
URL.
+ The key/value pair is encoded before it is added to the query. The
+ pair is converted into separate strings internally. The \a key and
+ \a value is first encoded into UTF-8 and then delimited by the
+ character returned by valueDelimiter(). Each key/value pair is
+ delimited by the character returned by pairDelimiter().
+
\sa addEncodedQueryItem()
*/
void QUrl::addQueryItem(const QString &key, const QString &value)