[Interest] Why does QML prefer 'count' over '.length'?
thiago.macieira at intel.com
Tue Jul 26 18:40:34 CEST 2016
Em terça-feira, 26 de julho de 2016, às 15:59:27 PDT, Jason H escreveu:
> I've pretty much standardized on the JS 'length' property, but why does all
> the Qt/QML stuff use .count? the C++ API used size().
The C++ API has all three.
> It's just a minor frustration. It would be cool if Qt/QML was brought inline
> with the JS convention...
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest