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 Pick-to: 6.5 Change-Id: I8a822640f4a8015ebf6c56cb6a614d6426e8a912 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
5bc644c951
commit
7c90881a8e
@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\example http
|
\example http
|
||||||
\title HTTP Example
|
\meta category {Networking}
|
||||||
|
\meta tags {http,network,https,proxy}
|
||||||
|
\title HTTP Client
|
||||||
\ingroup examples-network
|
\ingroup examples-network
|
||||||
\brief Demonstrates a simple HTTP client.
|
\brief Demonstrates a simple HTTP client.
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ HttpWindow::HttpWindow(QWidget *parent)
|
|||||||
, downloadDirectoryLineEdit(new QLineEdit)
|
, downloadDirectoryLineEdit(new QLineEdit)
|
||||||
{
|
{
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowTitle(tr("HTTP"));
|
setWindowTitle(tr("HTTP Client"));
|
||||||
|
|
||||||
//! [qnam-auth-required-1]
|
//! [qnam-auth-required-1]
|
||||||
connect(&qnam, &QNetworkAccessManager::authenticationRequired,
|
connect(&qnam, &QNetworkAccessManager::authenticationRequired,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user