diff options
Diffstat (limited to 'src/qml/common/qjsnumbercoercion.cpp')
-rw-r--r-- | src/qml/common/qjsnumbercoercion.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/qml/common/qjsnumbercoercion.cpp b/src/qml/common/qjsnumbercoercion.cpp index 986a3e97f2..ba76c12bb0 100644 --- a/src/qml/common/qjsnumbercoercion.cpp +++ b/src/qml/common/qjsnumbercoercion.cpp @@ -14,6 +14,20 @@ QT_BEGIN_NAMESPACE */ /*! + \fn bool QJSNumberCoercion::isInteger(double d) + \internal + \deprecated 6.7 + */ + +/*! + \fn bool QJSNumberCoercion::isArrayIndex(double d) + \internal + + Checks whether \a d contains a value that can serve as an index into an array. + For that, \a d must be a non-negative value representable as an int. + */ + +/*! \fn int QJSNumberCoercion::toInteger(double d) \internal |