diff options
| author | Paul Wicking <paul.wicking@qt.io> | 2024-06-27 12:26:07 +0200 |
|---|---|---|
| committer | Paul Wicking <paul.wicking@qt.io> | 2024-07-01 17:48:46 +0200 |
| commit | 1c3d2caaa13efe334cf2204adb7f4f78cbeba1de (patch) | |
| tree | 75b754c6e5dd8648d7a7df3629c8a32aee92745c /src/corelib/io/qfile.cpp | |
| parent | caa560931929d544ab816de09ba5f23912585ade (diff) | |
Doc: Minor addition to QFile::fileName documentation
The file name can also change by calls to rename(). Specify this
method also in the docs for fileName(), and add a see also link.
Fixes: QTBUG-126568
Change-Id: I2c422ed883427147b175f1df11fb8c006edc11b4
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
Diffstat (limited to 'src/corelib/io/qfile.cpp')
| -rw-r--r-- | src/corelib/io/qfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 1ca5eea01e2..73b90d2544d 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -269,10 +269,10 @@ QFile::~QFile() } /*! - Returns the name set by setFileName() or to the QFile - constructors. + Returns the name of the file as set by setFileName(), rename(), or + by the QFile constructors. - \sa setFileName(), QFileInfo::fileName() + \sa setFileName(), rename(), QFileInfo::fileName() */ QString QFile::fileName() const { |
