diff options
author | Jason Barron <jason.barron@nokia.com> | 2012-08-21 14:17:21 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 16:13:38 +0200 |
commit | 6276acb59a800e3cc3251f218b285f988a9128b5 (patch) | |
tree | e1e06eef78586c0028bf1221e103c0f94627700b /src/gui | |
parent | 82860b133c123d8136cf13e99f66c4b55badc5fa (diff) |
Fix docs for QRawFont.
Use correct function name for 'swap' and replace QGlyphs -> QGlyphRun.
Change-Id: I4997a59ef643c688e8084a2013208fb760a2784a
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qrawfont.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qrawfont.cpp b/src/gui/text/qrawfont.cpp index abf984dd50..75677ad8a4 100644 --- a/src/gui/text/qrawfont.cpp +++ b/src/gui/text/qrawfont.cpp @@ -186,7 +186,7 @@ QRawFont &QRawFont::operator=(const QRawFont &other) } /*! - \fn void QRawFont::operator=(QRawFont &other) + \fn void QRawFont::swap(QRawFont &other) \since 5.0 Swaps this raw font with \a other. This function is very fast and @@ -487,7 +487,7 @@ QVector<quint32> QRawFont::glyphIndexesForString(const QString &text) const must be at least \a numChars, if that's still not enough, this function will return false, then you can resize \a glyphIndexes from the size returned in \a numGlyphs. - \sa glyphIndexesForString(), advancesForGlyphIndexes(), QGlyphs, QTextLayout::glyphs(), QTextFragment::glyphs() + \sa glyphIndexesForString(), advancesForGlyphIndexes(), QGlyphRun, QTextLayout::glyphRuns(), QTextFragment::glyphRuns() */ bool QRawFont::glyphIndexesForChars(const QChar *chars, int numChars, quint32 *glyphIndexes, int *numGlyphs) const { |