Re: [Development] QML: onCountChanged in ListModel and ListView

2011-11-25 Thread Sandro Andrade
Thanks Bea, -- Sandro On Fri, Nov 25, 2011 at 3:58 AM, wrote: > > On 24/11/2011, at 11:39 PM, ext Sandro Andrade wrote: > >> Hi there, >> >> Any idea why ListView { onCountChanged: ... } works fine while >> ListModel { onCountChanged: ... } gives me a "undefined property >> 'onCountChanged'" ? >

Re: [Development] QML: onCountChanged in ListModel and ListView

2011-11-24 Thread bea.lam
On 24/11/2011, at 11:39 PM, ext Sandro Andrade wrote: > Hi there, > > Any idea why ListView { onCountChanged: ... } works fine while > ListModel { onCountChanged: ... } gives me a "undefined property > 'onCountChanged'" ? > Both qdeclarativelistview_p.h and qdeclarativexmllistmodel_p.h have > co

[Development] QML: onCountChanged in ListModel and ListView

2011-11-24 Thread Sandro Andrade
Hi there, Any idea why ListView { onCountChanged: ... } works fine while ListModel { onCountChanged: ... } gives me a "undefined property 'onCountChanged'" ? Both qdeclarativelistview_p.h and qdeclarativexmllistmodel_p.h have count property with NOTIFY signal. Thanks, -- Sandro __