From 364e1c5f3042fdf0e530d08150f505b2f6aedc23 Mon Sep 17 00:00:00 2001 From: Rym Bouabid Date: Tue, 20 Feb 2024 15:45:57 +0100 Subject: [PATCH] QFileInfo and QDir: use new \compares command ... to describe the comparison operators provided by these classes. Task-number: QTBUG-120303 Change-Id: I611a1801eb038586bfe57be9b502b6f17f3d5742 Reviewed-by: Ivan Solovev --- src/corelib/io/qdir.cpp | 1 + src/corelib/io/qfileinfo.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index d0264c6d3a5..d03800f4f84 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -376,6 +376,7 @@ inline void QDirPrivate::clearCache(MetaDataClearing mode) \ingroup shared \reentrant + \compares equality A QDir is used to manipulate path names, access information regarding paths and files, and manipulate the underlying file diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp index 12f1da76347..8e10467b7b6 100644 --- a/src/corelib/io/qfileinfo.cpp +++ b/src/corelib/io/qfileinfo.cpp @@ -198,6 +198,8 @@ QDateTime &QFileInfoPrivate::getFileTime(QAbstractFileEngine::FileTime request) \ingroup io \ingroup shared + \compares equality + QFileInfo provides information about a file system entry, such as its name, path, access rights and whether it is a regular file, directory or symbolic link. The entry's size and last modified/read times are also