qt5base-lts/examples/network/http
Marc Mutz 1a872e5ff2 HTTP example: use std::unique_ptr instead of QScopedPointer
This allows the QFile factory there to actually return the payload in
a unique_ptr instead of falling back to a raw pointer.

The use of a unique_ptr member requires that the destructor be
out-of-line, since QFile is only forward-declared in the header
file. This is good hygiene, so do it for ProgressDialog, too.

Change-Id: Idb6ed327f9592526bb7d0d5b2cfbffe9f08f3eea
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2019-05-15 11:03:52 +02:00
..
authenticationdialog.ui Polish the HTTP example. 2015-11-05 13:54:13 +00:00
http.pro clean up example project files, mostly wrt QT+=widgets 2012-12-17 14:08:17 +01:00
httpwindow.cpp HTTP example: use std::unique_ptr instead of QScopedPointer 2019-05-15 11:03:52 +02:00
httpwindow.h HTTP example: use std::unique_ptr instead of QScopedPointer 2019-05-15 11:03:52 +02:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00