Hello

Is there an inbuilt mechanism to search within a ListModel?

ListModel{
           ListElement{
                    id:1
                    name:xyz
          }
           ListElement{
                    id:2
                    name:abc
          }
           ListElement{
                    id:3
                    name:def
          }
}

Here I would like to accept the id as an input from another script and
return the name. Is there a way to do this without a loop?

Warm Regards
~~~~~~~~~~~~~~~
Vinayak

http://www.flickr.com/photos/rightplacerighttime/
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to