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

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Wed Aug 12 09:50:05 CEST 2009

On ti 11. elokuuta 2009 19.54.07, Jakob Leben wrote:
> 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.

Actually playlist_model is allready subclassed from QAbstractItemModel,
but data-handling is maybe littlebit suboptimal. 

So I wouldn't go anything that huge as moving qt4 interface over libvlc
or like that, as you could just remake playlist model to work better
against current playlist code in core.

Ilkka Ollakka
If God is dead, who will save the Queen?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090812/f7766ae0/attachment.sig>

More information about the vlc-devel mailing list