summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-07-07 12:04:06 +0200
committerTopi Reinio <topi.reinio@qt.io>2021-07-07 15:14:57 +0200
commit8ade7d3a3ef12221c444fa76afb55ed9daf83a9a (patch)
treeb17881fbbd3a367a586f868e7d8048d1acff8c30 /src/gui/painting
parentcbf07134a792cf256e597d41159aeaccc671b3d6 (diff)
Doc: Fix documentation warnings for QRgbaFloat
Pick-to: 6.2 Change-Id: I0c11edd184c7536ef91498d191a4a8684083f48a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qrgbafloat.qdoc14
1 files changed, 10 insertions, 4 deletions
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
@@ -37,6 +37,12 @@
*/
/*!
+ \typealias QRgbaFloat::FastType
+
+ Alias for \e float.
+*/
+
+/*!
\typedef QRgbaFloat16
\relates QRgbaFloat
@@ -99,7 +105,7 @@
*/
/*!
- \fn template<typename F> void QRgbaFloat<F>::setRed(float red)
+ \fn template<typename F> void QRgbaFloat<F>::setRed(QRgbaFloat::FastType red)
Sets the red color component of this color to \a red.
@@ -115,7 +121,7 @@
*/
/*!
- \fn template<typename F> void QRgbaFloat<F>::setGreen(float green)
+ \fn template<typename F> void QRgbaFloat<F>::setGreen(QRgbaFloat::FastType green)
Sets the green color component of this color to \a green.
@@ -131,7 +137,7 @@
*/
/*!
- \fn template<typename F> void QRgbaFloat<F>::setBlue(float blue)
+ \fn template<typename F> void QRgbaFloat<F>::setBlue(QRgbaFloat::FastType blue)
Sets the blue color component of this color to \a blue.
@@ -147,7 +153,7 @@
*/
/*!
- \fn template<typename F> void QRgbaFloat<F>::setAlpha(float alpha)
+ \fn template<typename F> void QRgbaFloat<F>::setAlpha(QRgbaFloat::FastType alpha)
Sets the alpha of this color to \a alpha.