diff options
| author | Peter Penz <[email protected]> | 2011-12-20 22:20:20 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-12-20 22:22:24 +0100 |
| commit | e76affea646069ab1a8cdfbf1c6c5228607a17e2 (patch) | |
| tree | 4fb7445b5147f717daf1aa5ae65262745e70cb2a /src/kitemviews/kfileitemmodel.h | |
| parent | 8012fe7da2c2b4368e72156bb21a35a56959e40b (diff) | |
Remove child items when a parent item gets deleted
BUG: 289447
FIXED-IN: 4.8.0
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h index 0a68afcfc..2992de065 100644 --- a/src/kitemviews/kfileitemmodel.h +++ b/src/kitemviews/kfileitemmodel.h @@ -306,6 +306,11 @@ private: */ bool isChildItem(int index) const; + /** + * @return Recursive list of child items that have \a item as upper most parent. + */ + KFileItemList childItems(const KFileItem& item) const; + private: QWeakPointer<KDirLister> m_dirLister; |
