[vlc-devel] vlc playlist development in general (was: [PATCH] QT4 playlist: even better DragNDrop policy)

Jakob Leben jakob.leben at gmail.com
Tue Aug 11 19:54:07 CEST 2009


On Tue, Aug 11, 2009 at 7:50 PM, Jakob Leben <jakob.leben at gmail.com> wrote:

> I believe that subclassing QAbstractItemModel allows just that: to use an
> "external" model. This abstract class contains only minimal code to
> communicate with the QAbstractItemView, and it does not force any data
> structures to hold the data in the model, you can easily use your ready-made
> ones.
>

Essentially, what you do when subclassing QAbstractItemModel is not creating
a(nother) model, but just implementing functions through which the view gets
data from wherever you have it stored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090811/762de875/attachment.html>


More information about the vlc-devel mailing list