From 471e4fcb226c4523efe93b1bdaf0db026495da94 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 6 Jul 2020 11:55:39 +0200 Subject: Use QList instead of QVector in gui implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-84469 Change-Id: I366e845249203d80d640355a7780ac2f91a762f1 Reviewed-by: Tor Arne Vestbø Reviewed-by: Friedemann Kleint --- src/gui/painting/qpainter.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gui/painting/qpainter.cpp') diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 9272ddb9ef..8d16b44944 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -3412,14 +3412,14 @@ void QPainter::drawRects(const QRect *rects, int rectCount) } /*! - \fn void QPainter::drawRects(const QVector &rectangles) + \fn void QPainter::drawRects(const QList &rectangles) \overload Draws the given \a rectangles using the current pen and brush. */ /*! - \fn void QPainter::drawRects(const QVector &rectangles) + \fn void QPainter::drawRects(const QList &rectangles) \overload @@ -3578,7 +3578,7 @@ void QPainter::drawPoints(const QPoint *points, int pointCount) \overload - Draws the points in the vector \a points. + Draws the points in the vector \a points. */ /*! @@ -3586,7 +3586,7 @@ void QPainter::drawPoints(const QPoint *points, int pointCount) \overload - Draws the points in the vector \a points. + Draws the points in the vector \a points. */ /*! @@ -4421,7 +4421,7 @@ void QPainter::drawLines(const QPoint *pointPairs, int lineCount) /*! - \fn void QPainter::drawLines(const QVector &pointPairs) + \fn void QPainter::drawLines(const QList &pointPairs) \overload Draws a line for each pair of points in the vector \a pointPairs @@ -4430,7 +4430,7 @@ void QPainter::drawLines(const QPoint *pointPairs, int lineCount) */ /*! - \fn void QPainter::drawLines(const QVector &pointPairs) + \fn void QPainter::drawLines(const QList &pointPairs) \overload Draws a line for each pair of points in the vector \a pointPairs @@ -4438,7 +4438,7 @@ void QPainter::drawLines(const QPoint *pointPairs, int lineCount) */ /*! - \fn void QPainter::drawLines(const QVector &lines) + \fn void QPainter::drawLines(const QList &lines) \overload Draws the set of lines defined by the list \a lines using the @@ -4446,7 +4446,7 @@ void QPainter::drawLines(const QPoint *pointPairs, int lineCount) */ /*! - \fn void QPainter::drawLines(const QVector &lines) + \fn void QPainter::drawLines(const QList &lines) \overload Draws the set of lines defined by the list \a lines using the @@ -7198,7 +7198,7 @@ start_lengthVariant: } } - QVector underlineFormats; + QList underlineFormats; int length = offset - old_offset; if ((hidemnmemonic || showmnemonic) && maxUnderlines > 0) { QChar *cout = text.data() + old_offset; -- cgit v1.2.3