]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewproperties.h
Provide backward compatibility with older .directory versions
[dolphin.git] / src / views / viewproperties.h
index b46249eb2b520113425a40dfe558a8f791bbad03..96a5515ef19e49a988c07fbfef835a8db66c5c81 100644 (file)
@@ -137,6 +137,13 @@ private:
      */
     QString viewModePrefix() const;
 
+    /**
+     * Provides backward compatibility with .directory files created with
+     * Dolphin < 2.1: Converts the old additionalInfo-property into
+     * the visibleRoles-property and clears the additionalInfo-property.
+     */
+    QStringList convertAdditionalInfo();
+
     /**
      * Returns true, if \a filePath is part of the home-path (see QDir::homePath()).
      */