]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Fix item highlighting through DBus
[dolphin.git] / src / views / dolphinview.h
index 2ecd75957fa8791b8e1ba0225f3a8f4b2043cce0..aff4c51a84d2a3aa8ae2f9cfc4444b9398eb9fc9 100644 (file)
@@ -291,6 +291,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)
      */