diff options
author | Nobuaki Sukegawa <nsukeg@gmail.com> | 2015-12-28 21:22:29 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsukeg@gmail.com> | 2016-03-05 08:26:29 +0000 |
commit | 3b7e2a69f7eb8597c807de39b4de39721e9e2bd2 (patch) | |
tree | 49b56fe716c888ba1498822032917353986cd944 /tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml | |
parent | c7ac28fa354b96de37dc6cde5e3728da8daaacbb (diff) |
Convert QByteArray in C++ type to ArrayBuffer in QML and vice-versa
Change-Id: Ie4e29a443a17826a3ce4d1e1912bd35dc497ac78
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml b/tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml new file mode 100644 index 0000000000..9e1c91810a --- /dev/null +++ b/tests/auto/qml/qqmllanguage/data/arraybuffer_method_overload.qml @@ -0,0 +1,7 @@ +import QtQuick 2.7 +import Test 1.0 + +MyArrayBufferTestClass { + property bool ok: false + Component.onCompleted: ok = byteArrayMethod_Overloaded(new ArrayBuffer()); +} |