summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-12-18 10:29:44 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-12-18 10:29:44 (GMT)
commit5cf20160b7484945ec58bff854641ab5acca2dc6 (patch)
treeaa7bd2f2b18f16bd60b080b436203e50194ad97e /doc
parent45ca79610e1609f27c852afe7f8ae157f5ef7fbb (diff)
downloadQt-5cf20160b7484945ec58bff854641ab5acca2dc6.zip
Qt-5cf20160b7484945ec58bff854641ab5acca2dc6.tar.gz
Qt-5cf20160b7484945ec58bff854641ab5acca2dc6.tar.bz2
Doc fix
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/globalobject.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/globalobject.qdoc b/doc/src/declarative/globalobject.qdoc
index 2bed1c1..74dbc92 100644
--- a/doc/src/declarative/globalobject.qdoc
+++ b/doc/src/declarative/globalobject.qdoc
@@ -73,10 +73,10 @@ when the property has one of the following types:
There are also string based constructors for these types, see \l{basicqmltypes.html}{Qml Types}.
-\section3 Qt.rgba(int red, int green, int blue, int alpha)
+\section3 Qt.rgba(qreal red, qreal green, qreal blue, qreal alpha)
This function returns a Color with the specified \c red, \c green, \c blue and \c alpha components. All components should be in the range 0-1 inclusive.
-\section3 Qt.hsla(int hue, int saturation, int lightness, int alpha)
+\section3 Qt.hsla(qreal hue, qreal saturation, qreal lightness, qreal alpha)
This function returns a Color with the specified \c hue, \c saturation, \c lightness and \c alpha components. All components should be in the range 0-1 inclusive.
\section3 Qt.rect(int x, int y, int width, int height)