From 6276acb59a800e3cc3251f218b285f988a9128b5 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Tue, 21 Aug 2012 14:17:21 +0200 Subject: Fix docs for QRawFont. Use correct function name for 'swap' and replace QGlyphs -> QGlyphRun. Change-Id: I4997a59ef643c688e8084a2013208fb760a2784a Reviewed-by: Jiang Jiang --- src/gui/text/qrawfont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/text/qrawfont.cpp') 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 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 { -- cgit v1.2.3