summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-10-29 05:01:10 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-10-29 05:01:10 (GMT)
commit6c3b7fb91fe512479f7321eb4d3f577cb8bbd1a7 (patch)
treefc37b9f6731e9a7dfc9a3073d1ef8834f47fc84c /doc
parent07e1b6615e868af6434bb8e42dc2d44a51075204 (diff)
downloadQt-6c3b7fb91fe512479f7321eb4d3f577cb8bbd1a7.zip
Qt-6c3b7fb91fe512479f7321eb4d3f577cb8bbd1a7.tar.gz
Qt-6c3b7fb91fe512479f7321eb4d3f577cb8bbd1a7.tar.bz2
Doc
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 fc5d988..e327047 100644
--- a/doc/src/declarative/globalobject.qdoc
+++ b/doc/src/declarative/globalobject.qdoc
@@ -82,10 +82,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)
-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-255 inclusive.
+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)
-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-255 inclusive.
+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)
This function returns a Rect with the top-left corner at \c x,\c y and the specified \c width and \c height.