qt6-bb10/examples/network/torrent
Lars Knoll df853fed66 Use qsizetype in QList
The change creates a slight source incompatibility. The main
things to take care of are

* code using printf statements on list.size(). Using qsizetype in
printf statements will always require a cast to work on both 32
and 64 bit.
* A few places where overloads now get ambiguous. One example is
QRandomGenerator::bounded() that has overloads for int, uint and
double, but not int64.
* Streaming list.size() to a QDataStream will change the format
depending on the architecture.

[ChangeLog][QtCore][QList] QList now uses qsizetype to index into
elements.

Change-Id: Iaff562a4d072b97f458417b670f95971bd47cbc6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-06 21:31:14 +02:00
..
forms
icons
.prev_CMakeLists.txt Regenerate examples 2020-02-04 18:50:39 +00:00
CMakeLists.txt Regenerate examples 2020-02-04 18:50:39 +00:00
addtorrentdialog.cpp Cleanup network examples 2019-11-06 10:57:23 +01:00
addtorrentdialog.h Cleanup network examples 2019-11-06 10:57:23 +01:00
bencodeparser.cpp
bencodeparser.h
connectionmanager.cpp
connectionmanager.h
filemanager.cpp
filemanager.h Cleanup network examples 2019-11-06 10:57:23 +01:00
icons.qrc
main.cpp
mainwindow.cpp torrent example: fix premature pessimisation 2020-05-05 05:28:19 +00:00
mainwindow.h Cleanup network examples 2019-11-06 10:57:23 +01:00
metainfo.cpp
metainfo.h
peerwireclient.cpp QAbstractSocket: deprecate 'error' signal, use 'errorOccurred' instead 2020-02-27 13:56:45 +01:00
peerwireclient.h Cleanup network examples 2019-11-06 10:57:23 +01:00
ratecontroller.cpp Torrent example: fix crash 2020-05-11 10:21:29 +02:00
ratecontroller.h Cleanup network examples 2019-11-06 10:57:23 +01:00
torrent.pro
torrentclient.cpp Use qsizetype in QList 2020-07-06 21:31:14 +02:00
torrentclient.h Cleanup network examples 2019-11-06 10:57:23 +01:00
torrentserver.cpp QAbstractSocket: deprecate 'error' signal, use 'errorOccurred' instead 2020-02-27 13:56:45 +01:00
torrentserver.h
trackerclient.cpp Revert "QNetworkReply: deprecate the 'error' getter" 2020-02-28 07:21:14 +03:00
trackerclient.h Cleanup network examples 2019-11-06 10:57:23 +01:00