[Qt-qml] emit data on a QAbstracListModel does not update the QML ListView.

Bartosh Wroblevksy bartosh at live.com
Tue Sep 14 00:28:32 CEST 2010


Hi, 

I have an example in attachment and don't see what I am doing wrong. Essentially, in this example at least, I emit dataChanged in a model in a cpp file and the  QML ListView hooked up  to it refuses to update.
the qml file is LibraryList.qmlthe model is in model.cpp
What am I doing wrong?
Thanks,
Bartosh





 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100913/4086a533/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmlexample.tar.gz
Type: application/x-gzip
Size: 2637 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100913/4086a533/attachment.gz 


More information about the Qt-qml mailing list