X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/fa988586bc923b33497cbc97aaac07fc93a4ca83..405dd624fb:/src/views/viewproperties.h diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index d3ea4280f..6a3f18e6b 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -21,9 +21,10 @@ #ifndef VIEWPROPERTIES_H #define VIEWPROPERTIES_H -#include +#include "dolphin_export.h" +#include "views/dolphinview.h" + #include -#include 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()). */