qt5base-lts/examples/network/torrent
Eskil Abrahamsen Blomfeldt 4d88d79aa5 Update usage of QFontMetrics::width() to new API
QFontMetrics(F)::width() has been deprecated and is replaced by
horizontalAdvance(). This updates all usage of it in tests and
documentation.

It is worth noting that many or most of the usages of
QFontMetrics::width() probably intended to use boundingRect().width(),
but since it currently works, I have not looked into that, just
replaced the function name mechanically.

Change-Id: Iec382e5bad0b50f37a6cfff841bfb46ed4d4555f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-12-08 15:06:32 +00: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 Unify license header usage. 2016-03-29 10:20:03 +00:00
addtorrentdialog.h Unify license header usage. 2016-03-29 10:20:03 +00:00
bencodeparser.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
bencodeparser.h Unify license header usage. 2016-03-29 10:20:03 +00:00
connectionmanager.cpp Merge remote-tracking branch 'origin/5.7' into dev 2016-07-19 20:14:40 +02:00
connectionmanager.h Unify license header usage. 2016-03-29 10:20:03 +00:00
filemanager.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
filemanager.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
icons.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
mainwindow.cpp Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
mainwindow.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
metainfo.cpp Fix/adapt the uses of {to,set,from}Time_t in the qtbase source code 2016-07-06 06:28:13 +00:00
metainfo.h Unify license header usage. 2016-03-29 10:20:03 +00:00
peerwireclient.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
peerwireclient.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
ratecontroller.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
ratecontroller.h Unify license header usage. 2016-03-29 10:20:03 +00:00
torrent.pro Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
torrentclient.cpp Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
torrentclient.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
torrentserver.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
torrentserver.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
trackerclient.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
trackerclient.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00