]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.h
Create the new architecture for KCategorizedView. Now DolphinModel is created, inheri...
[dolphin.git] / src / viewproperties.h
index 5eb17ab457b3a51c23def19d66ff7fd32d48e2e0..64a2fad256ba829be8c100e84ea22c1d5930000c 100644 (file)
 #define VIEWPROPERTIES_H
 
 #include <dolphinview.h>
-#include <kfileitemdelegate.h>
 #include <kurl.h>
-#include <qdatetime.h>
 #include <libdolphin_export.h>
-#include "dolphin_directoryviewpropertysettings.h"
-
-class QFile;
 
+class ViewPropertySettings;
 /**
  * @brief Maintains the view properties like 'view mode' or
  *        'show hidden files' for a directory.
@@ -66,6 +62,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,7 +117,7 @@ private:
      */
     QString destinationDir(const QString& subDir) const;
 
-    Q_DISABLE_COPY(ViewProperties);
+    Q_DISABLE_COPY(ViewProperties)
 
 private:
     bool m_changedProps;