From 7ac3ed4e749789ae348a80638cc18906c697b306 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 3 Oct 2007 22:33:47 +0000 Subject: there is no need anymore to check whether the KDirLister is currently loading before invoking KDirModel::expandToUrl() svn path=/trunk/KDE/kdebase/apps/; revision=720870 --- src/treeviewsidebarpage.h | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'src/treeviewsidebarpage.h') diff --git a/src/treeviewsidebarpage.h b/src/treeviewsidebarpage.h index 524e18322..978323f40 100644 --- a/src/treeviewsidebarpage.h +++ b/src/treeviewsidebarpage.h @@ -78,7 +78,13 @@ private slots: * Invokes expandToLeafDir() asynchronously (the expanding * may not be done in the context of this slot). */ - void triggerExpanding(const QModelIndex& index); + void triggerExpanding(); + + /** + * Invokes loadSubTree() asynchronously (the loading + * may not be done in the context of this slot). + */ + void triggerLoadSubTree(); /** * Expands all directories to make m_leafDir visible and @@ -93,19 +99,6 @@ private slots: */ void loadSubTree(); - /** - * Is invoked when the directory lister has started the loading - * of the URL \a url and sets the internal m_dirListerCompleted - * state to false. - */ - void slotDirListerStarted(const KUrl& url); - - /** - * Is invoked when the directory lister has completed the loading - * and sets the internal m_dirListerCompleted state to true. - */ - void slotDirListerCompleted(); - private: /** * Initializes the base URL of the tree and expands all -- cgit v1.3