[Qt-qml] accessing model method from a delegate

vineeth nvineeth at gmail.com
Tue May 24 16:14:17 CEST 2011


Hello,
  I have a newbie question :
  In a C++ abstract model list view I have a q_invokable method , and from
Qml I can call it as  : ListView.view.model.method_name , but not simply as
model.method_name
  what is the difference between ListView.view.model and just model in a
delegate, (I thought both were same)?
  Thanks.
--vineeth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110524/ba25b706/attachment.html 


More information about the Qt-qml mailing list