diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-11 07:40:03 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-11 07:40:03 (GMT) |
commit | a958ab9c98481100870a87ee07b8e0abddbfc804 (patch) | |
tree | e8d5c8f4e5b6b33942af6fac748e7fa9feef8d9c /src/qt3support | |
parent | 411991d0e6a04085d9f8379ceccce337c5b6e818 (diff) | |
download | Qt-a958ab9c98481100870a87ee07b8e0abddbfc804.zip Qt-a958ab9c98481100870a87ee07b8e0abddbfc804.tar.gz Qt-a958ab9c98481100870a87ee07b8e0abddbfc804.tar.bz2 |
Qt's domain name is now qt.nokia.com.
Reviewed-by: Trust Me
Diffstat (limited to 'src/qt3support')
-rw-r--r-- | src/qt3support/network/q3http.cpp | 10 | ||||
-rw-r--r-- | src/qt3support/network/q3url.cpp | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/qt3support/network/q3http.cpp b/src/qt3support/network/q3http.cpp index f65d10b..aa639d5 100644 --- a/src/qt3support/network/q3http.cpp +++ b/src/qt3support/network/q3http.cpp @@ -1048,8 +1048,8 @@ QString Q3HttpRequestHeader::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 - http://qtsoftware.com/index.html): + from the Qt web site (i.e. the URL + http://qt.nokia.com/index.html): \snippet doc/src/snippets/code/src_qt3support_network_q3http.cpp 3 @@ -1535,7 +1535,7 @@ int Q3Http::setHost(const QString &hostname, Q_UINT16 port ) 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. If the IO device \a to is 0 the readyRead() signal is emitted every time new content data is available to read. @@ -1568,7 +1568,7 @@ int Q3Http::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. + absolute URI like \c http://example.com/index.html. The incoming data comes via the \a data IO device. @@ -1615,7 +1615,7 @@ int Q3Http::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 and returns immediately. The request is scheduled, and its execution is performed asynchronously. The diff --git a/src/qt3support/network/q3url.cpp b/src/qt3support/network/q3url.cpp index 3631bb3..ef3282f 100644 --- a/src/qt3support/network/q3url.cpp +++ b/src/qt3support/network/q3url.cpp @@ -109,12 +109,12 @@ static void slashify( QString& s, bool allowMultiple = true ) Example: - <tt>http://qtsoftware.com:80/cgi-bin/test%20me.pl?cmd=Hello%20you</tt> + <tt>http://example.com:80/cgi-bin/test%20me.pl?cmd=Hello%20you</tt> \table \header \i Function \i Returns \row \i \l protocol() \i "http" - \row \i \l host() \i "qtsoftware.com" + \row \i \l host() \i "example.com" \row \i \l port() \i 80 \row \i \l path() \i "/cgi-bin/test me.pl" \row \i \l fileName() \i "test me.pl" |