Hi!

The current API proposed by ChoiceList is:

Item {
   property model model
   property int currentIndex
}

As you can see, "model" is not a proper type :) and I would like to
propose changing it to "variant" as it's the same type used by the
views that have a property called model:

qt/src/declarative/graphicsitems/qdeclarativelistview_p.h
[...snip...]
Q_PROPERTY(QVariant model READ model WRITE setModel NOTIFY modelChanged)
[...snip...]

Does anyone have any problems with that?

Cheers!

-- 
-------------------------------------------------------
Artur Duque de Souza
openBossa
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to