qt5base-lts/examples/network/torrent
Mårten Nordheim 69c31f6f68 Torrent example: Remove manual little-big endian conversion
... and use QtEndian instead.

The conversion would be done even on a big-endian system, so the
example would not work correctly on such machines.

Task-number: QTBUG-110622
Pick-to: 6.5
Change-Id: I6a660ff68fa5a8d9b4c1faf9e264d937c605c47e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2023-02-14 18:49:45 +01:00
..
icons Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
addtorrentdialog.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentdialog.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentform.ui Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
bencodeparser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
bencodeparser.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
connectionmanager.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
connectionmanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
filemanager.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
filemanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
icons.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mainwindow.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
mainwindow.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
peerwireclient.cpp Torrent example: Remove manual little-big endian conversion 2023-02-14 18:49:45 +01:00
peerwireclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ratecontroller.cpp examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
ratecontroller.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
torrent.pro Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
torrentclient.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
torrentclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
torrentserver.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
torrentserver.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
trackerclient.cpp Torrent example: Use QByteArray toPercentEncoding 2023-01-30 20:10:25 +01:00
trackerclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00