KSortFilterProxyModel

John Tapsell johnflux at gmail.com
Sat Nov 28 15:36:39 GMT 2009


2009/11/28 David Faure <faure at kde.org>:
> On Saturday 28 November 2009, David Faure wrote:
>> On Friday 27 November 2009, Stephen Kelly wrote:
>> > To avoid having a proxy model which does not update on source model
>> > change and which will likely be replaced in 4.5, I think it would be best
>> > to remove KSortFilterProxyModel from kdelibs4.4, and use
>> >  KRecursiveFilterProxyModel in 4.5 after it has been tested.
>>
>> If it's new in 4.4 and nothing uses it yet (you checked lxr, I presume?),
>
> Oh wait. This is the same KSortFilterProxyModel as the one that konqueror
> is using for its history treeview, so that the filtering lineedit works on
> child nodes (which contain the page titles).
> Very useful indeed, don't remove it :-)
> Could be renamed though, to get a more specific name.
> KFilterChildrenProxyModel? sounds like the opposite of what it does, though.
> Maybe KMatchChildrenProxyModel?

Well if it's being replaced with a bug-fixed version, couldn't
konqueror switch to using that? :)




More information about the kde-core-devel mailing list