qt5base-lts/tests/auto/gui/painting
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
..
qbrush Updated license headers 2016-01-21 18:55:18 +00:00
qcolor Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
qpagelayout Updated license headers 2016-01-21 18:55:18 +00:00
qpagesize Updated license headers 2016-01-21 18:55:18 +00:00
qpaintengine Updated license headers 2016-01-21 18:55:18 +00:00
qpainter Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qpainterpath winrt: Fix tst_QPainterPath 2017-05-31 13:10:05 +00:00
qpainterpathstroker Updated license headers 2016-01-21 18:55:18 +00:00
qpathclipper Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qpdfwriter Copy stretch to multifont fontDef 2017-04-05 11:27:15 +00:00
qpen Updated license headers 2016-01-21 18:55:18 +00:00
qpolygon Add QPolygon::intersects() methods 2017-05-18 08:55:16 +00:00
qregion tst_QRegion: compile under QT_DISABLE_DEPRECATED_BEFORE=0x051200 2017-12-07 19:10:09 +00:00
qtransform Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
qwmatrix Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00