HTTP example: rename to HTTP Client

It can do more than HTTP but let's keep the naming simple. Most people
likely aren't looking to do file: or data: or qrc: in this example.

Task-number: QTBUG-108874
Change-Id: I8a822640f4a8015ebf6c56cb6a614d6426e8a912
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 7c90881a8e0402c6d6970539087c7b9632e51e23)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mårten Nordheim 2023-01-11 18:19:39 +01:00 committed by Qt Cherry-pick Bot
parent ebe3229ddf
commit 7daa1acc8c
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@
/*!
\example http
\title HTTP Example
\meta category {Networking}
\meta tags {http,network,https,proxy}
\title HTTP Client
\ingroup examples-network
\brief Demonstrates a simple HTTP client.

View File

@ -47,7 +47,7 @@ HttpWindow::HttpWindow(QWidget *parent)
, downloadDirectoryLineEdit(new QLineEdit)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("HTTP"));
setWindowTitle(tr("HTTP Client"));
//! [qnam-auth-required-1]
connect(&qnam, &QNetworkAccessManager::authenticationRequired,