- * Returns the encoded additional information that can be stored
- * in the .directory file. See ViewProperties::decodedAdditionalInfo()
- * for the coding format.
- * @param info Additional information for the current view mode.
+ * Returns the view-mode prefix when storing additional properties for
+ * a view-mode.
+ */
+ QString viewModePrefix() const;
+
+ /**
+ * Provides backward compatibility with .directory files created with
+ * Dolphin < 2.0: Converts the old additionalInfo-property into
+ * the visibleRoles-property and clears the additionalInfo-property.
+ */
+ void convertAdditionalInfo();
+
+ /**
+ * Provides backward compatibility with .directory files created with
+ * Dolphin < 2.1: Converts the old name-role "name" to the generic
+ * role "text".
+ */
+ 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()).