Thanks for sharing. I was wondering for a long time how to use the qml list
type. The documentation gives absolutely no clue that you must use the
bracket syntax, like in C++. I never thought that it was possible to do that
in javascript.


On Thu, Aug 19, 2010 at 8:31 PM, Cornelius Hald <[email protected]> wrote:

> Am 19.08.2010 14:54, schrieb Cornelius Hald:
> > // SlideShow.qml
> > Item {
> >       property string title
> >       property variant slides
> > }
>
> Changing 'variant' to 'list<Item>' solved my problem. The correct code
> now looks like this:
>
> Item {
>     property string title
>     property list<Item> slides
> }
>
> Cheers,
> Conny
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to