aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/example.md
Commit message (Collapse)AuthorAgeFilesLines
* Replace TextEdit.textDocument.error signal with status propertyShawn Rutledge2024-01-231-0/+146
If we make loading and saving asynchronous later, we'll need the same sort of status property as in Image, Loader etc. to let the user QML know when it's done, or when it has failed. Bindings are more flexible than signal handlers; so we might as well have better-prepared API now. To make use of the Status enum in QML, we need to de-anonymize TextDocument and make it merely uncreatable. Anyway, it was already referred to as the TextDocument type in the docs. Pick-to: 6.7 Change-Id: Ia4354feba77995759797030382891308b941f0af Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>