aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/writeback.qml
Commit message (Collapse)AuthorAgeFilesLines
* QmlCompiler: Reject lookups on shadowable base typesUlf Hermann2024-02-011-2/+5
| | | | | | | | | | | | If the base type of a lookup is shadowable we cannot give any guarantees at all about what is going to happen. Only if the right hand side of the lookup is shadowable we can use our QVariant trick. Fixes: QTBUG-121734 Pick-to: 6.7 6.6 Change-Id: I969a842a6bc6d6a4446bfbfb50f1a7021b84049e Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlCompiler: Allow setting values in sequencesUlf Hermann2023-08-251-0/+6
| | | | | | | | | | Since we have write-back available now, this is not difficult anymore. This does not yet cover setting properties of value type objects stored in sequences such as "a[i].b = c". You can only set the whole element. Task-number: QTBUG-116011 Change-Id: Id5f7a19125897602880e573d5f25b025f9b91f34 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* QmlCompiler: Allow write-back to members of objectsUlf Hermann2023-08-241-0/+34
This covers recursive write-back, but not write-back to members of singletons or attached types, write-back of lists. Task-number: QTBUG-116011 Change-Id: I6d33fae3bf9fdaed8d696a708124e0a707ecb07e Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>