From 82e2404fd1002e43d5dda641b07a6bebaed5daf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 10 Jan 2023 12:23:45 +0100 Subject: [PATCH] Doc: Mark new QGlyphRun methods as new in Qt 6.5 Change-Id: I5e977a6c7e5356dcdca245f424abd920403c6a72 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit fbf0c88d04116946c6d9bfd8364a42971874e930) Reviewed-by: Qt Cherry-pick Bot --- src/gui/text/qglyphrun.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/text/qglyphrun.cpp b/src/gui/text/qglyphrun.cpp index 389b7403fdb..4252d9e7f14 100644 --- a/src/gui/text/qglyphrun.cpp +++ b/src/gui/text/qglyphrun.cpp @@ -472,6 +472,8 @@ bool QGlyphRun::isEmpty() const } /*! + \since 6.5 + Returns the string indexes corresponding to each glyph index, if the glyph run has been constructed from a string and string indexes have been requested from the layout. In this case, the length of the returned vector will correspond to the length of glyphIndexes(). In other @@ -498,6 +500,8 @@ QList QGlyphRun::stringIndexes() const } /*! + \since 6.5 + Sets the list of string indexes corresponding to the glyph indexes to \a stringIndexes See stringIndexes() for more details on the conventions of this list. @@ -511,6 +515,8 @@ void QGlyphRun::setStringIndexes(const QList &stringIndexes) } /*! + \since 6.5 + Returns the string corresponding to the glyph run, if the glyph run has been created from a string and the string has been requested from the layout. @@ -522,6 +528,8 @@ QString QGlyphRun::sourceString() const } /*! + \since 6.5 + Set the string corresponding to the glyph run to \a sourceString. If set, the indexes returned by stringIndexes() should be indexes into this string.