diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 13:13:05 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-07 11:48:45 +0200 |
commit | 77bb50de8f3f7defe1329e6c4a6e066d510afc55 (patch) | |
tree | 758b5aab51211aaba887e3ffe9bb4d46f9e740cf /src/widgets/util | |
parent | 989fca660c3556fa957ed9a3f7cd3b948a4166a2 (diff) |
Use QList instead of QVector in qtbase
Fixes all other QVector occurrences
Task-number: QTBUG-84469
Change-Id: I5f9311298d341a9a3061a6a640539583d1618939
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/widgets/util')
-rw-r--r-- | src/widgets/util/qcolormap.qdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/util/qcolormap.qdoc b/src/widgets/util/qcolormap.qdoc index 2e1c7c504b..d262fcc9cb 100644 --- a/src/widgets/util/qcolormap.qdoc +++ b/src/widgets/util/qcolormap.qdoc @@ -42,11 +42,11 @@ \value Direct Pixel values are derived directly from the RGB values, also known as "True Color." - \value Indexed Pixel values represent indexes into a vector of + \value Indexed Pixel values represent indexes into a list of available colors, i.e. QColormap uses the index of the color that most closely matches an RGB value. - \value Gray Similar to \c Indexed, pixel values represent a vector + \value Gray Similar to \c Indexed, pixel values represent a list of available gray tones. QColormap uses the index of the gray tone that most closely matches the computed gray tone of an RGB value. @@ -113,11 +113,11 @@ */ /*! - \fn const QVector<QColor> QColormap::colormap() const + \fn const QList<QColor> QColormap::colormap() const - Returns a vector of colors which represents the devices colormap + Returns a list of colors which represents the devices colormap for \c Indexed and \c Gray modes. This function returns an empty - vector for \c Direct mode. + list for \c Direct mode. \sa size() */ |