┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/viewproperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/viewproperties.h')
-rw-r--r--src/views/viewproperties.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h
index b46249eb2..96a5515ef 100644
--- a/src/views/viewproperties.h
+++ b/src/views/viewproperties.h
@@ -138,6 +138,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()).
*/
static bool isPartOfHome(const QString& filePath);