]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewproperties.h
First step to introduce dynamic roles
[dolphin.git] / src / views / viewproperties.h
index c95134a156ac6a8158096d67182dd5f8168219ad..b46249eb2b520113425a40dfe558a8f791bbad03 100644 (file)
@@ -62,11 +62,11 @@ public:
     void setHiddenFilesShown(bool show);
     bool hiddenFilesShown() const;
 
-    void setCategorizedSorting(bool categorized);
-    bool categorizedSorting() const;
+    void setGroupedSorting(bool grouped);
+    bool groupedSorting() const;
 
-    void setSorting(DolphinView::Sorting sorting);
-    DolphinView::Sorting sorting() const;
+    void setSortRole(const QByteArray& role);
+    QByteArray sortRole() const;
 
     void setSortOrder(Qt::SortOrder sortOrder);
     Qt::SortOrder sortOrder() const;
@@ -79,14 +79,14 @@ public:
      * Note that the additional-info property is the only property where
      * the value is dependent from another property (in this case the view-mode).
      */
-    void setAdditionalInfoList(const QList<DolphinView::AdditionalInfo>& info);
+    void setVisibleRoles(const QList<QByteArray>& info);
 
     /**
      * Returns the additional information for the current set view-mode.
      * Note that the additional-info property is the only property where
      * the value is dependent from another property (in this case the view-mode).
      */
-    QList<DolphinView::AdditionalInfo> additionalInfoList() const;
+    QList<QByteArray> visibleRoles() const;
 
     /**
      * Sets the directory properties view mode, show preview,