[Qt-interest] data() in QAbstractItemModel

Kai Morwinski morckman at gmail.com
Wed Dec 17 19:33:58 CET 2008


Hi Sajjad,

the data() function is called from many places inside of each view
(QAbstractItemView and subclasses), the delegate (QItemDelegate and
subclasses) and even from the model indexes (QModelIndex::data()) itsself.
Regards,
Kai

2008/12/17 ami guru <dosto.walla at gmail.com>

> Hello forum,
>
> Any subclass of QAbstractItemModel must implement the pure virtual function
> - data()
>
> And i want to see when it is called and by whom. Browsing through the
> examples i have not found any that calls the function
> data() belonging to the model though that function is executed.
>
> Any hint?
>
>
> Sajjad
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081217/e61f55e0/attachment.html 


More information about the Qt-interest-old mailing list