diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-19 10:49:11 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-19 10:49:11 (GMT) |
commit | af3c291928dc9e5fd50424c1cdda0a53be27136e (patch) | |
tree | 7a608992467ff132ba56810fa43cdd6e0d03edfa /src | |
parent | c73a5b4abfb1f05f8f976c526e0954680a3ed00e (diff) | |
parent | ad9d9a93e1f63e2509e9cdb8c245853fb3c8674a (diff) | |
download | Qt-af3c291928dc9e5fd50424c1cdda0a53be27136e.zip Qt-af3c291928dc9e5fd50424c1cdda0a53be27136e.tar.gz Qt-af3c291928dc9e5fd50424c1cdda0a53be27136e.tar.bz2 |
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qurl.cpp | 6 |
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) |