┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/viewproperties.h
diff options
context:
space:
mode:
authorDon Nguyen <[email protected]>2017-01-21 00:04:38 +0100
committerAlbert Astals Cid <[email protected]>2017-01-21 00:04:38 +0100
commit0aed243bebae72d85aa06032bdf2d6ba2b58141d (patch)
treeab1ec32cfc392baf0db70db26940397f448a2dde /src/views/viewproperties.h
parentd8ffea247626842ac0f9e5048c8be05c250ff719 (diff)
Change "Date" to "Modified" and allow access to new "Accessed" time field
This is merge of #128964 and #128942. This will impelement changing the "Date" field to "Modified" and allow a new "Accessed" time field to be available. This also includes changes to update configuration files. REVIEW: 129077
Diffstat (limited to 'src/views/viewproperties.h')
-rw-r--r--src/views/viewproperties.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h
index dc118e2d7..05b80f455 100644
--- a/src/views/viewproperties.h
+++ b/src/views/viewproperties.h
@@ -154,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()).
*/
static bool isPartOfHome(const QString& filePath);