diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-03-18 18:56:25 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-03-20 21:40:11 +0000 |
commit | c5a1849ed1c53699f0af67d4b24592ed9de76b09 (patch) | |
tree | 9d7955af2018aaad99c928b5f818536121cdfc12 /src/qml/jsapi/qjsprimitivevalue.cpp | |
parent | 9c8a63b6c08a51a0944a7407039ec953088501b7 (diff) |
Doc: Fix QJSPrimitiveValue::to() \fn signature
And add \since information.
Change-Id: I3634a3b2dbc48e63fac4810cfc0c1a5137e925db
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qml/jsapi/qjsprimitivevalue.cpp')
-rw-r--r-- | src/qml/jsapi/qjsprimitivevalue.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsapi/qjsprimitivevalue.cpp b/src/qml/jsapi/qjsprimitivevalue.cpp index 12bd304ef4..3ab2ade0dc 100644 --- a/src/qml/jsapi/qjsprimitivevalue.cpp +++ b/src/qml/jsapi/qjsprimitivevalue.cpp @@ -298,9 +298,10 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template <Type type> QJSPrimiteiveValue QJSPrimitiveValue::to() + \fn template<Type type> QJSPrimitiveValue QJSPrimitiveValue::to() const + \since 6.6 - Coerces the value to the specified \a type and returns the result as a new + Coerces the value to the specified \e type and returns the result as a new QJSPrimitiveValue. \sa toBoolean(), toInteger(), toDouble(), toString() |