[Development] [QML] Assigning ints to enumeration properties

Olivier Goffart olivier at woboq.com
Wed Mar 6 21:09:50 CET 2013


On Wednesday 06 March 2013 11:23:49 Alan Alpert wrote:
[...]
> We can't have explicit casts because the scripts are in JavaScript,
> which is dynamically typed.

Yes. Considering that, I guess implicit cast are ok.
But don't pretend it is to match C++ :-)

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org



More information about the Development mailing list