[Development] QTCS2019 Notes from QtQml session
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Wed Nov 27 11:57:29 CET 2019
On 27/11/2019 11:39, Milian Wolff wrote:
> Personally, I hope the answer is that this will remain supported. The only
> disadvantage is the runtime type introspection, which should/could be solved
> via Ulf's idea of something like an inline interface/trait component. Such
> that eventually we can do something like:
>
> ```
> interface ModelData { // syntax is open, just to give an idea
> required property string text
> required property int answer
> }
> delegate: Text {
> required property ModelData model // model is a misnomer, but I digress
> text: model.text + model.answer
> }
> ```
Yes, I totally get this part. But I'm asking specifically about the
future of "required property var model" bit, at least for two good reasons:
1) the sake of porting existing code, and/or
2) in case the above doesn't materialize for 6.0
I think I completely misunderstood something during the session and thus
my question here :)
Thanks,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20191127/d4655b48/attachment.bin>
More information about the Development
mailing list