]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewproperties.h
Use new "Show/Hide Hidden Files" standard shortcut
[dolphin.git] / src / views / viewproperties.h
index d3ea4280f1e5bcfaf6f90c2a40e0cf843439ef16..6a3f18e6bdc129e21679e8bfee2c340b6f5731c1 100644 (file)
 #ifndef VIEWPROPERTIES_H
 #define VIEWPROPERTIES_H
 
-#include <views/dolphinview.h>
+#include "dolphin_export.h"
+#include "views/dolphinview.h"
+
 #include <QUrl>
-#include <libdolphin_export.h>
 
 class ViewPropertySettings;
 /**
@@ -47,7 +48,7 @@ class ViewPropertySettings;
  * (see GeneralSettings::globalViewMode()), the values from the global .directory file
  * are used for initialization.
  */
-class LIBDOLPHINPRIVATE_EXPORT ViewProperties
+class DOLPHIN_EXPORT ViewProperties
 {
 public:
     explicit ViewProperties(const QUrl& url);
@@ -153,6 +154,12 @@ private:
      */
     void convertNameRoleToTextRole();
 
+    /**
+     * Provides backward compatibility with .directory files created with
+     * Dolphin < 16.11.70: Converts the old name-role "date" to "modificationtime"
+     */
+
+    void convertDateRoleToModificationTimeRole();
     /**
      * Returns true, if \a filePath is part of the home-path (see QDir::homePath()).
      */