]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.h
Adapt Dolphin Nepomuk support to namespace changes.
[dolphin.git] / src / viewproperties.h
index be64b989bfecc3b1ab54151e82bd29c42200dd32..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.
@@ -51,7 +47,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 +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,8 +117,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;