From 6c3a3d498a8797c481a394418fff8f7bf1886c61 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 23 Jul 2016 11:14:57 -0700 Subject: Filesystem: Use "birth time" to avoid confusion with Unix ctime The Unix stat fields "st_ctime" and "st_ctim" mean "change time", the last time that the file/inode status fields were changed. It does not mean "creation time". So this commit splits all of the internal API to "birth" and "metadata change" instead of "creation" to avoid the conflict. Change-Id: I149e0540c00745fe8119fffd1463fe78b619649e Reviewed-by: Simon Hausmann --- src/corelib/io/qabstractfileengine_p.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/corelib/io/qabstractfileengine_p.h') diff --git a/src/corelib/io/qabstractfileengine_p.h b/src/corelib/io/qabstractfileengine_p.h index 47b3a624fe..c3f7619268 100644 --- a/src/corelib/io/qabstractfileengine_p.h +++ b/src/corelib/io/qabstractfileengine_p.h @@ -113,9 +113,10 @@ public: OwnerGroup }; enum FileTime { - CreationTime, - ModificationTime, - AccessTime + AccessTime, + BirthTime, + MetadataChangeTime, + ModificationTime }; virtual ~QAbstractFileEngine(); -- cgit v1.2.3