From d75d22f785374b468cd56007b30864c52e896472 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 6 Feb 2020 10:48:40 +0100 Subject: [PATCH] Docs: tag newly added QFile and QFileInfo APIs as \since 5.15 Change-Id: I7d8605221a28cd05b4ebdbf20adf00ec3e121b58 Reviewed-by: Paul Wicking --- src/corelib/io/qfile.cpp | 3 +++ src/corelib/io/qfileinfo.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index a516c6cd27..0cdc5bd6d3 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -552,6 +552,8 @@ QFile::remove(const QString &fileName) } /*! + \since 5.15 + Moves the file specified by fileName() to the trash. Returns \c true if successful, and sets the fileName() to the path at which the file can be found within the trash; otherwise returns \c false. @@ -586,6 +588,7 @@ QFile::moveToTrash() } /*! + \since 5.15 \overload Moves the file specified by fileName() to the trash. Returns \c true if successful, diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp index 3fe1aec41f..64b1557231 100644 --- a/src/corelib/io/qfileinfo.cpp +++ b/src/corelib/io/qfileinfo.cpp @@ -1147,6 +1147,8 @@ bool QFileInfo::isShortcut() const /*! + \since 5.15 + Returns \c true if the object points to a junction; otherwise returns \c false.