From 224f471a9f04605f15f807fdb5d35f46d104de7f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 5 Oct 2008 18:11:46 +0000 Subject: update the statusbar and provide a progress information within the Dolphin KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!) CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=868210 --- src/dolphinview.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 6546c457e..910e324ea 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -305,7 +305,13 @@ public: * directory lister or the model directly, as it takes * filtering and hierarchical previews into account. */ - void calculateItemCount(int& fileCount, int& folderCount); + void calculateItemCount(int& fileCount, int& folderCount) const; + + /** + * Returns a textual representation of the state of the current + * folder or selected items, suitable for use in the status bar. + */ + QString statusBarText() const; /** * Updates the state of the 'Additional Information' actions in \a collection. -- cgit v1.3