┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-05 18:11:46 +0000
committerPeter Penz <[email protected]>2008-10-05 18:11:46 +0000
commit224f471a9f04605f15f807fdb5d35f46d104de7f (patch)
tree67bc75888d3cc52a81e7cdd5dffd194adbd40770 /src/dolphinview.h
parent3b8df5665049f877863b963137c51350ae88ebb7 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=868210
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h8
1 files changed, 7 insertions, 1 deletions
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.