Re: [Development] [QML] ListModel discards item's method

2014-05-04 Thread Ben Lau
On 4 May 2014 03:30, Nurmi J-P wrote: > On 03 May 2014, at 16:04, Ben Lau wrote: > > > Hi, > > > > I have few questions about the implementation of ListModel and the > design principle about using models with object in QML application. > > > > I would like to use a model class to hold a list of

Re: [Development] [QML] ListModel discards item's method

2014-05-03 Thread Nurmi J-P
On 03 May 2014, at 16:04, Ben Lau wrote: > Hi, > > I have few questions about the implementation of ListModel and the design > principle about using models with object in QML application. > > I would like to use a model class to hold a list of item (or C++ QObject ) > with custom methods /

[Development] [QML] ListModel discards item's method

2014-05-03 Thread Ben Lau
Hi, I have few questions about the implementation of ListModel and the design principle about using models with object in QML application. I would like to use a model class to hold a list of item (or C++ QObject ) with custom methods / slot functions. However, I found that after the item/QObject