qt5base-lts/examples/network
Olivier Goffart 73d1476fb1 Replace most use of QVariant::type and occurrences of QVariant::Type
I made a clazy automated check that replaced the use of QVariant::Type
by the equivalent in QMetaType.
This has been deprecated since Qt 5.0, but many uses were not yet removed.

In addition, there was some manual changes to fix the compilation errors.

Adapted the Private API of QDateTimeParser and QMimeDataPrivate
and adjust QDateTimeEdit and QSpinBox.

QVariant(QVariant::Invalid) in qstylesheet made no sense.

But note that in QVariant::save, we actually wanted to use the non-user type.

In the SQL module, many changes were actually reverted because the API
still expects QVarient::Type.

Change-Id: I98c368490e4ee465ed3a3b63bda8b8eaa50ea67e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-01-23 16:46:51 +01:00
..
bearermonitor Cleanup network examples 2019-11-06 10:57:23 +01:00
blockingfortuneclient QAbstractSocket: deprecate 'error' member-function 2020-01-10 12:54:53 +01:00
broadcastreceiver Cleanup network examples 2019-11-06 10:57:23 +01:00
broadcastsender qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
dnslookup Cleanup network examples 2019-11-06 10:57:23 +01:00
doc Cleanup network examples 2019-11-06 10:57:23 +01:00
download QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
downloadmanager QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
fortuneclient qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
fortuneserver Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
googlesuggest QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
http QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
loopback Fix usage of QGuiApplication::set/resetOverrideCursor 2018-11-05 21:57:43 +00:00
multicastreceiver Cleanup network examples 2019-11-06 10:57:23 +01:00
multicastsender qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
multistreamclient Cleanup network examples 2019-11-06 10:57:23 +01:00
multistreamserver Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
network-chat Cleanup network examples 2019-11-06 10:57:23 +01:00
securesocketclient Cleanup network examples 2019-11-06 10:57:23 +01:00
secureudpclient Document DTLS examples 2018-08-09 03:52:13 +00:00
secureudpserver SecureUDPServer example: use std::unique_ptr instead of QSharedPointer 2019-05-15 14:40:23 +02:00
shared Polish SCTP examples 2016-08-03 11:46:21 +00:00
threadedfortuneserver QAbstractSocket: deprecate 'error' member-function 2020-01-10 12:54:53 +01:00
torrent Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
network.pro Build the securesocketclient example for other SSL backends 2020-01-14 09:44:28 +01:00
README

Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.

These examples demonstrate the fundamental aspects of network programming
with Qt.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.