On Friday 01 July 2011 14:02:20 Stephen Kelly wrote:
> Hi,
> 
> One of the things I indend to do with Qt 5 is to move the itemmodel classes
> which currently are in QtGui into QtCore. This is:
> 
> * QAbstractProxyModel
> * QItemSelectionModel, QItemSelection, QItemSelectionRange
> * QSortFilterProxyModel
> * QIdentityProxyModel
> * QStringListModel (#includes QAbstractItemView but apparently doesn't use
> it)
> 
> QFileSystemModel uses qicon qbrush etc which are in QtGui, so either the
> QtGui using stuff would be split out, or the QFileSystemModel goes 
wherever
> those classes go.

The icon stuff should integrate with the new MIME handling. I'd suggest to 
have a QtCore QBasicFileSystemModel that doesn't return icons at all, and a 
subclass QFileSystemModel, that is part of the MIME handling module 
(obsoleting QFileIconProvider). That would give near source compatibility 
(just need to add a new module in the .pro file).

> 
> Any reason not to do this stuff? What do people think of what should happen
> to QFileSystemModel?

-- 
Christoph Feck
http://kdepepo.wordpress.com/
KDE Quality Team
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to