aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi/qjsprimitivevalue.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-03-18 18:56:25 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-03-20 21:40:11 +0000
commitc5a1849ed1c53699f0af67d4b24592ed9de76b09 (patch)
tree9d7955af2018aaad99c928b5f818536121cdfc12 /src/qml/jsapi/qjsprimitivevalue.cpp
parent9c8a63b6c08a51a0944a7407039ec953088501b7 (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.cpp5
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()