]> cloud.milkyroute.net Git - dolphin.git/commit
Reimplement name-filtering
authorPeter Penz <peter.penz19@gmail.com>
Tue, 29 Nov 2011 23:18:22 +0000 (00:18 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 29 Nov 2011 23:24:33 +0000 (00:24 +0100)
commit7b8fbf737496e44e7676a437f000377d737dfd9c
tree5b64891095993e59b268e04dc44db77ded1fd030
parent3719ce7d2a7f4ee6a0585763139eea8f7786630c
Reimplement name-filtering

The filtering of items has not been implemented yet in
the KFileItemModel of the new view-engine. The patch brings back
this functionality again, but some minor issues are open:
- When filtering trees expanded directories should only get
  hidden if no child is visible
- Regular expressions are not supported yet (they have not been
  supported in Dolphin 1.x but it is now quite simple to implement).
- When filtering previews and removing the filter it might be
  possible that the preview is not shown (is most probably an
  an already existing bug in KFileItemModelRolesUpdater).

BUG: 287642
FIXED-IN: 4.8.0
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h
src/tests/kfileitemmodeltest.cpp
src/views/dolphinview.cpp