Port KRecursiveFilterProxyModel to QSortFilterProxyModel
Summary:
Add QT_VERSION checks so that the code can still be built with Qt versions
older than 5.10 (that's where QSortFilterProxyModel gained recursive
filtering capabilities).
Also add some defines to ease porting in the future; add a dud
setRecursiveFilteringEnabled() method to keep backward compatibility.
For details see the code the review.
Test Plan:
make && ctest; all unit tests pass except qsqlcipher-test, but it fails
on master too.
Reviewers: tbaumgart
Reviewed By: tbaumgart
Subscribers: davidre
Maniphest Tasks: T12269
Differential Revision: https://phabricator.kde.org/D26579