*/
void loadSubTree();
+ /**
+ * Assures that the leaf folder gets visible.
+ */
+ void scrollToLeaf();
+
private:
/**
* Initializes the base URL of the tree and expands all
*/
void loadTree(const KUrl& url);
+ /**
+ * Selects the current leaf directory m_leafDir and assures
+ * that the directory is visible if the leaf has been set by
+ * TreeViewSidebarPage::setUrl().
+ */
+ void selectLeafDirectory();
+
private:
- bool m_dirListerCompleted;
+ bool m_setLeafVisible;
+ int m_horizontalPos;
KDirLister* m_dirLister;
DolphinModel* m_dolphinModel;
DolphinSortFilterProxyModel* m_proxyModel;