summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2012-05-11 01:47:46 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-29 11:35:21 +0200
commit358f78f215faf9dab433a279d87007f52fbe3c71 (patch)
tree1706d18b6b486bda98f3c6dcdd9217c5a81d8151 /src/gui/text/qfont.cpp
parent2c49ea852f7893faae59bbdb59e2806002f0a017 (diff)
QtGui: remove \link usages
Change-Id: Ib8cca14a8fa35fbc631bfea9b4873225eac3677f Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 753fe5670f..961ac8e64c 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -382,7 +382,7 @@ QFontEngineData::~QFontEngineData()
QFontInfo object.
If the requested font family is unavailable you can influence the
- \link #fontmatching font matching algorithm\endlink by choosing a
+ \l{#fontmatching}{font matching algorithm} by choosing a
particular \l{QFont::StyleHint} and \l{QFont::StyleStrategy} with
setStyleHint(). The default family (corresponding to the current
style hint) is returned by defaultFamily().
@@ -484,9 +484,9 @@ QFontEngineData::~QFontEngineData()
\snippet code/src_gui_text_qfont.cpp 4
For more general information on fonts, see the
- \link http://nwalsh.com/comp.fonts/FAQ/ comp.fonts FAQ.\endlink
+ \l{comp.fonts FAQ}{comp.fonts FAQ}.
Information on encodings can be found from
- \link http://czyborra.com/ Roman Czyborra's\endlink page.
+ \l{Roman Czyborra's} page.
\sa QFontComboBox, QFontMetrics, QFontInfo, QFontDatabase, {Character Map Example}
*/
@@ -626,7 +626,7 @@ QFontEngineData::~QFontEngineData()
It is theoretically possible that there really isn't a
lastResortFont() in which case Qt will abort with an error
message. We have not been able to identify a case where this
- happens. Please \link bughowto.html report it as a bug\endlink if
+ happens. Please \l{bughowto.html}{report it as a bug} if
it does, preferably with a list of the fonts you have installed.
\sa lastResortFamily(), rawName()
@@ -1106,8 +1106,8 @@ void QFont::setWeight(int weight)
/*!
\fn bool QFont::bold() const
- Returns true if weight() is a value greater than \link Weight
- QFont::Normal \endlink; otherwise returns false.
+ Returns true if weight() is a value greater than
+ \l{Weight}{QFont::Normal}; otherwise returns false.
\sa weight(), setBold(), QFontInfo::bold()
*/
@@ -1115,9 +1115,9 @@ void QFont::setWeight(int weight)
/*!
\fn void QFont::setBold(bool enable)
- If \a enable is true sets the font's weight to \link Weight
- QFont::Bold \endlink; otherwise sets the weight to \link Weight
- QFont::Normal\endlink.
+ If \a enable is true sets the font's weight to
+ \l{Weight}{QFont::Bold};
+ otherwise sets the weight to \l{Weight}{QFont::Normal}.
For finer boldness control use setWeight().
@@ -2097,7 +2097,7 @@ void QFont::cacheStatistics()
Writes the font \a font to the data stream \a s. (toString()
writes to a text stream.)
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator<<(QDataStream &s, const QFont &font)
{
@@ -2148,7 +2148,7 @@ QDataStream &operator<<(QDataStream &s, const QFont &font)
Reads the font \a font from the data stream \a s. (fromString()
reads from a text stream.)
- \sa \link datastreamformat.html Format of the QDataStream operators \endlink
+ \sa{Serializing Qt Data Types}{Format of the QDataStream operators}
*/
QDataStream &operator>>(QDataStream &s, QFont &font)
{
@@ -2273,8 +2273,7 @@ QDataStream &operator>>(QDataStream &s, QFont &font)
Constructs a font info object for \a font.
The font must be screen-compatible, i.e. a font you use when
- drawing text in \link QWidget widgets\endlink or \link QPixmap
- pixmaps\endlink, not QPicture or QPrinter.
+ drawing text in \l{QWidget}{widgets} or \l{QPixmap}{pixmaps}, not QPicture or QPrinter.
The font info object holds the information for the font that is
passed in the constructor at the time it is created, and is not