diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2012-05-11 01:47:46 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 11:35:21 +0200 |
commit | 358f78f215faf9dab433a279d87007f52fbe3c71 (patch) | |
tree | 1706d18b6b486bda98f3c6dcdd9217c5a81d8151 /src/gui/text/qfontmetrics.cpp | |
parent | 2c49ea852f7893faae59bbdb59e2806002f0a017 (diff) |
QtGui: remove \link usages
Change-Id: Ib8cca14a8fa35fbc631bfea9b4873225eac3677f
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
-rw-r--r-- | src/gui/text/qfontmetrics.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp index 141ef64e53..83d51e2e71 100644 --- a/src/gui/text/qfontmetrics.cpp +++ b/src/gui/text/qfontmetrics.cpp @@ -166,7 +166,7 @@ QFontMetrics::QFontMetrics(const QFont &font) The font metrics will be compatible with the paintdevice passed. If the \a paintdevice is 0, the metrics will be screen-compatible, ie. the metrics you get if you use the font for drawing text on a - \link QWidget widgets\endlink or \link QPixmap pixmaps\endlink, + \l{QWidget}{widgets} or \l{QPixmap}{pixmaps}, not on a QPicture or QPrinter. The font metrics object holds the information for the font that is @@ -751,8 +751,8 @@ QRect QFontMetrics::boundingRect(QChar ch) const The bounding rectangle returned by this function is somewhat larger than that calculated by the simpler boundingRect() function. This - function uses the \link minLeftBearing() maximum left \endlink and - \link minRightBearing() right \endlink font bearings as is + function uses the \l{minLeftBearing()}{maximum left} and + \l{minRightBearing()}{right} font bearings as is necessary for multi-line text to align correctly. Also, fontHeight() and lineSpacing() are used to calculate the height, rather than individual character heights. @@ -1027,7 +1027,7 @@ QFontMetricsF::QFontMetricsF(const QFont &font) The font metrics will be compatible with the paintdevice passed. If the \a paintdevice is 0, the metrics will be screen-compatible, ie. the metrics you get if you use the font for drawing text on a - \link QWidget widgets\endlink or \link QPixmap pixmaps\endlink, + \l{QWidget}{widgets} or \l{QPixmap}{pixmaps}, not on a QPicture or QPrinter. The font metrics object holds the information for the font that is @@ -1532,8 +1532,8 @@ QRectF QFontMetricsF::boundingRect(QChar ch) const The bounding rectangle returned by this function is somewhat larger than that calculated by the simpler boundingRect() function. This - function uses the \link minLeftBearing() maximum left \endlink and - \link minRightBearing() right \endlink font bearings as is + function uses the \l{minLeftBearing()}{maximum left} and + \l{minRightBearing()}{right} font bearings as is necessary for multi-line text to align correctly. Also, fontHeight() and lineSpacing() are used to calculate the height, rather than individual character heights. |