qt5base-lts/examples/network/torrent
Topi Reinio 87f890295b Doc: Fix network/torrent example to work on Qt 5
This change fixes two issues in the torrent example:

    - Correctly use a query constructed from the announce url to fetch
      the list of peers (using QUrlQuery).
    - Reimplement QAbstractSocket's connectToHost() and
      disconnectFromHost() which are virtual in Qt 5, instead of
      of using the protected connectToHostImplementation() /
      disconnectFromHostImplementation() slots.

Also removes a warning about deprecation of QHttp class as it's no
longer used in this example.

Task-number: QTBUG-30329
Change-Id: I9230cd2204bfc1a66f2ea3e98940b09681df250e
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
2013-04-04 08:37:04 +02:00
..
forms Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
icons Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
addtorrentdialog.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
addtorrentdialog.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
bencodeparser.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
bencodeparser.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
connectionmanager.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
connectionmanager.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
filemanager.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
filemanager.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
icons.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Doc: Fix network/torrent example to work on Qt 5 2013-04-04 08:37:04 +02:00
mainwindow.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
mainwindow.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
metainfo.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
metainfo.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
peerwireclient.cpp Doc: Fix network/torrent example to work on Qt 5 2013-04-04 08:37:04 +02:00
peerwireclient.h Doc: Fix network/torrent example to work on Qt 5 2013-04-04 08:37:04 +02:00
ratecontroller.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
ratecontroller.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
torrent.pro clean up example project files, mostly wrt QT+=widgets 2012-12-17 14:08:17 +01:00
torrentclient.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
torrentclient.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
torrentserver.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
torrentserver.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
trackerclient.cpp Doc: Fix network/torrent example to work on Qt 5 2013-04-04 08:37:04 +02:00
trackerclient.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00