]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.h
allow to enable the categorization feature for sorting
[dolphin.git] / src / viewproperties.h
index be64b989bfecc3b1ab54151e82bd29c42200dd32..74ff72cb17df567ee19acb1b172e84a825b6635f 100644 (file)
@@ -51,7 +51,7 @@ class QFile;
  * (see GeneralSettings::globalViewMode()), the values from the global .directory file
  * are used for initialization.
  */
-class LIBDOLPHIN_EXPORT ViewProperties
+class LIBDOLPHINPRIVATE_EXPORT ViewProperties
 {
 public:
     explicit ViewProperties(const KUrl& url);
@@ -66,6 +66,9 @@ public:
     void setShowHiddenFiles(bool show);
     bool showHiddenFiles() const;
 
+    void setCategorizedSorting(bool categorized);
+    bool categorizedSorting() const;
+
     void setSorting(DolphinView::Sorting sorting);
     DolphinView::Sorting sorting() const;
 
@@ -118,8 +121,7 @@ private:
      */
     QString destinationDir(const QString& subDir) const;
 
-    ViewProperties(const ViewProperties& props);
-    ViewProperties& operator= (const ViewProperties& props);
+    Q_DISABLE_COPY(ViewProperties)
 
 private:
     bool m_changedProps;