From 8ade7d3a3ef12221c444fa76afb55ed9daf83a9a Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 7 Jul 2021 12:04:06 +0200 Subject: Doc: Fix documentation warnings for QRgbaFloat Pick-to: 6.2 Change-Id: I0c11edd184c7536ef91498d191a4a8684083f48a Reviewed-by: Allan Sandfeld Jensen --- src/gui/painting/qrgbafloat.qdoc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/gui/painting') diff --git a/src/gui/painting/qrgbafloat.qdoc b/src/gui/painting/qrgbafloat.qdoc index 17e7722626..bcfe355c08 100644 --- a/src/gui/painting/qrgbafloat.qdoc +++ b/src/gui/painting/qrgbafloat.qdoc @@ -36,6 +36,12 @@ \sa QRgb, QRgba64, QColor */ +/*! + \typealias QRgbaFloat::FastType + + Alias for \e float. +*/ + /*! \typedef QRgbaFloat16 \relates QRgbaFloat @@ -99,7 +105,7 @@ */ /*! - \fn template void QRgbaFloat::setRed(float red) + \fn template void QRgbaFloat::setRed(QRgbaFloat::FastType red) Sets the red color component of this color to \a red. @@ -115,7 +121,7 @@ */ /*! - \fn template void QRgbaFloat::setGreen(float green) + \fn template void QRgbaFloat::setGreen(QRgbaFloat::FastType green) Sets the green color component of this color to \a green. @@ -131,7 +137,7 @@ */ /*! - \fn template void QRgbaFloat::setBlue(float blue) + \fn template void QRgbaFloat::setBlue(QRgbaFloat::FastType blue) Sets the blue color component of this color to \a blue. @@ -147,7 +153,7 @@ */ /*! - \fn template void QRgbaFloat::setAlpha(float alpha) + \fn template void QRgbaFloat::setAlpha(QRgbaFloat::FastType alpha) Sets the alpha of this color to \a alpha. -- cgit v1.2.3