]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.h
reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applie...
[dolphin.git] / src / viewproperties.h
index 5eb17ab457b3a51c23def19d66ff7fd32d48e2e0..cba68ad3c2caccaeabbe2bff7ff58b5fb31c5c0f 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,13 +117,15 @@ private:
      */
     QString destinationDir(const QString& subDir) const;
 
-    Q_DISABLE_COPY(ViewProperties);
+    Q_DISABLE_COPY(ViewProperties)
 
 private:
     bool m_changedProps;
     bool m_autoSave;
     QString m_filepath;
     ViewPropertySettings* m_node;
+
+    static bool m_nepomukSupport;
 };
 
 #endif