<div class="gmail_quote">2009/8/11 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But the real "problem" might be that the Qt MVC system is not meant to mirror<br>
an external model. Really, the model and the controller are in VLC core, and<br>
Qt4 is just a view, as are all other interfaces. And much of the complexity<br>
comes from that.<br></blockquote></div><br>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.<br>