summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-06 10:48:40 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-06 12:21:25 +0100
commitd75d22f785374b468cd56007b30864c52e896472 (patch)
tree57bb019f0f644cb9c8de5b19b23c72a0d9a10a9c
parentd37f58e75b7d484ea8fde64dbf13e901d83a078f (diff)
Docs: tag newly added QFile and QFileInfo APIs as \since 5.15
Change-Id: I7d8605221a28cd05b4ebdbf20adf00ec3e121b58 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/corelib/io/qfile.cpp3
-rw-r--r--src/corelib/io/qfileinfo.cpp2
2 files changed, 5 insertions, 0 deletions
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.