[vlc-devel] [PATCH] Qt/ML: New Models for Playlist UI

Srikanth Raju srikiraju at gmail.com
Mon Dec 27 22:23:41 CET 2010

This is a patch that will add a new model

I had to create a new VLCModel class that pulls out some basic
functionality that is essential to both the playlist and ml models.
This is necessary because we want to reuse the same view classes, but
change the model classes. So  we need a common interface, which a
little extra stuff than QAbstractItemModel.
The views will get the data mainly through the Qt index()/data()
interface which are overridden for both models and they will know what
to give the views.

As of now, nothing is changed or broken in the UI, this is "backend" patch.
Patches for views and the panel changes will come up.
My branch http://git.videolan.org/?p=vlc/vlc-jetru.git;a=shortlog;h=refs/heads/mlwork
will have updates and also has the rest of the files.

Srikanth Raju
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Qt-ML-Uniform-Column-Interface.patch
Type: text/x-patch
Size: 8427 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101228/80b92482/attachment.bin>

More information about the vlc-devel mailing list