┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-04-10 11:22:56 +0000
committerPeter Penz <[email protected]>2007-04-10 11:22:56 +0000
commit6422ae393ed378f8dcde0bf35e1f8d67a5df2295 (patch)
tree8ebf2bfde66c50244ba86734cead36d4bb7250b5 /src/dolphinview.h
parent5b5a7b8da8cb3ee6bbb9f7450c87fca5de41dc05 (diff)
allow to enable the categorization feature for sorting
svn path=/trunk/KDE/kdebase/apps/; revision=652200
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 4f78f050b..d60556663 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -165,6 +165,24 @@ public:
bool showHiddenFiles() const;
/**
+ * Summarizes all sorted items by their category \a categorized
+ * is true.
+ * If the view properties should be remembered for each directory
+ * (GeneralSettings::globalViewProps() returns false), then the
+ * categorized sorting setting will be be stored automatically.
+ */
+ void setCategorizedSorting(bool categorized);
+ bool categorizedSorting() const;
+
+ /**
+ * Returns true, if the categorized sorting is supported by the current
+ * used mode (see DolphinView::setMode()). Currently only DolphinView::IconsView
+ * supports categorizations. To check whether the categorized
+ * sorting is set, use DolphinView::categorizedSorting().
+ */
+ bool supportsCategorizedSorting() const;
+
+ /**
* Triggers the renaming of the currently selected items, where
* the user must input a new name for the items.
*/
@@ -375,6 +393,9 @@ signals:
/** Is emitted if the 'show hidden files' property has been changed. */
void showHiddenFilesChanged();
+ /** Is emitted if the 'categorized sorting' property has been changed. */
+ void categorizedSortingChanged();
+
/** Is emitted if the sorting by name, size or date has been changed. */
void sortingChanged(DolphinView::Sorting sorting);