diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 05:26:23 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 05:26:23 (GMT) |
commit | 168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20 (patch) | |
tree | 8428f893886a05ef2d12d73d8e0aba57b902a96a /src/network | |
parent | 812b3940012f3c04fb79b8fa8c4ac64ff8051dd4 (diff) | |
download | Qt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.zip Qt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.tar.gz Qt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.tar.bz2 |
Update URL's to use new domain.
Reviewed-by: Trust Me
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/access/qhttp.cpp | 9 | ||||
-rw-r--r-- | src/network/socket/qabstractsocket.cpp | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/network/access/qhttp.cpp b/src/network/access/qhttp.cpp index 839a2d2..9d0b413 100644 --- a/src/network/access/qhttp.cpp +++ b/src/network/access/qhttp.cpp @@ -1452,8 +1452,7 @@ QString QHttpRequestHeader::toString() const To make an HTTP request you must set up suitable HTTP headers. The following example demonstrates how to request the main HTML page - from the Trolltech home page (i.e., the URL - \c http://qtsoftware.com/index.html): + from the Qt website (i.e., the URL \c http://qt.nokia.com/index.html): \snippet doc/src/snippets/code/src_network_access_qhttp.cpp 2 @@ -2166,7 +2165,7 @@ int QHttp::setProxy(const QNetworkProxy &proxy) as specified in the constructor. \a path must be a absolute path like \c /index.html or an - absolute URI like \c http://qtsoftware.com/index.html and + absolute URI like \c http://example.com/index.html and must be encoded with either QUrl::toPercentEncoding() or QUrl::encodedPath(). @@ -2205,7 +2204,7 @@ int QHttp::get(const QString &path, QIODevice *to) as specified in the constructor. \a path must be an absolute path like \c /index.html or an - absolute URI like \c http://qtsoftware.com/index.html and + absolute URI like \c http://example.com/index.html and must be encoded with either QUrl::toPercentEncoding() or QUrl::encodedPath(). @@ -2256,7 +2255,7 @@ int QHttp::post(const QString &path, const QByteArray &data, QIODevice *to) or as specified in the constructor. \a path must be an absolute path like \c /index.html or an - absolute URI like \c http://qtsoftware.com/index.html. + absolute URI like \c http://example.com/index.html. The function does not block; instead, it returns immediately. The request is scheduled, and its execution is performed asynchronously. The diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index 52b6d07..49ffe3d 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -1249,7 +1249,7 @@ bool QAbstractSocket::isValid() const \a hostName may be an IP address in string form (e.g., "43.195.83.32"), or it may be a host name (e.g., - "qtsoftware.com"). QAbstractSocket will do a lookup only if + "example.com"). QAbstractSocket will do a lookup only if required. \a port is in native byte order. \sa state(), peerName(), peerAddress(), peerPort(), waitForConnected() |