aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/qml/v8/qqmlbuiltinfunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
index 1123949cfa..cbcbf1da19 100644
--- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
+++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp
@@ -393,7 +393,7 @@ ReturnedValue QtObject::method_colorEqual(const FunctionObject *b, const Value *
}
/*!
- \qmlmethod rect Qt::rect(int x, int y, int width, int height)
+ \qmlmethod rect Qt::rect(real x, real y, real width, real height)
Returns a rect with the top-left corner at \a x, \a y and the specified \a width and \a height.
*/
@@ -412,7 +412,7 @@ ReturnedValue QtObject::method_rect(const FunctionObject *b, const Value *, cons
}
/*!
- \qmlmethod point Qt::point(int x, int y)
+ \qmlmethod point Qt::point(real x, real y)
Returns a point with the specified \a x and \a y coordinates.
*/
@@ -429,7 +429,7 @@ ReturnedValue QtObject::method_point(const FunctionObject *b, const Value *, con
}
/*!
- \qmlmethod size Qt::size(int width, int height)
+ \qmlmethod size Qt::size(real width, real height)
Returns a size with the specified \a width and \a height.
*/