diff options
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 2ecd75957..aff4c51a8 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -292,6 +292,13 @@ public: bool itemsExpandable() const; /** + * @returns true if the @p item is one of the items() of this view and + * is currently expanded. false otherwise. + * Only directories in view modes that allow expanding can ever be expanded. + */ + bool isExpanded(const KFileItem &item) const; + + /** * Restores the view state (current item, contents position, details view expansion state) */ void restoreState(QDataStream& stream); |
