diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2017-09-05 16:50:52 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2017-09-05 15:17:49 +0000 |
commit | 0234e5c96417f451f8de279b8ff92734836badd4 (patch) | |
tree | d3803b51580d113b0e53f50708d7c78c672ffa5d /src/qml/doc | |
parent | 2617ac5b9df7dfdecf0cb02d5933c40df1a55bbc (diff) |
QByteArray gets mapped to ArrayBuffer
Change-Id: I884e6c747af6dfffce23fa21fc320be53951a7d4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/cppintegration/data.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/doc/src/cppintegration/data.qdoc b/src/qml/doc/src/cppintegration/data.qdoc index 65559f640a..c748161ee8 100644 --- a/src/qml/doc/src/cppintegration/data.qdoc +++ b/src/qml/doc/src/cppintegration/data.qdoc @@ -347,6 +347,11 @@ them with default constructed values, do not use the indexed delete operator ("delete sequence[i]") but instead use the \c {splice} function ("sequence.splice(startIndex, deleteCount)"). +\section2 QByteArray to JavaScript ArrayBuffer + +The QML engine provides automatic type conversion between QByteArray values and +JavaScript \c ArrayBuffer objects. + \section2 Value Types Some value types in Qt such as QPoint are represented in JavaScript as objects |