diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-12-22 10:30:06 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-12-22 19:23:18 +0100 |
commit | c9d9b43b10509020be706629060f83fa3091c4c8 (patch) | |
tree | 4497f69ec1c14f336ece4ad3734ad6cf1bb75f9c /src/corelib/io | |
parent | 7c84a0cd290d59eff8e78342951bef9abd0ac153 (diff) |
Doc: Replace QTemporaryFile with QSaveFile for QFileDevice motivation
QTemporaryFile is derived from QFile, so it's not a reason why
QFileDevice should exist. Instead, mention QSaveFile.
Pick-to: 6.5
Change-Id: I1de3a32746a313ec57323f3f8ae42e326f11d147
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qfiledevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qfiledevice.cpp b/src/corelib/io/qfiledevice.cpp index c83ec227cc..ee8e1b8926 100644 --- a/src/corelib/io/qfiledevice.cpp +++ b/src/corelib/io/qfiledevice.cpp @@ -127,10 +127,10 @@ void QFileDevicePrivate::setError(QFileDevice::FileError err, int errNum) QFileDevice is the base class for I/O devices that can read and write text and binary files and \l{The Qt Resource System}{resources}. QFile offers the main functionality, QFileDevice serves as a base class for sharing functionality with other file devices such - as QTemporaryFile, by providing all the operations that can be done on files that have - been opened by QFile or QTemporaryFile. + as QSaveFile, by providing all the operations that can be done on files that have + been opened by QFile or QSaveFile. - \sa QFile, QTemporaryFile + \sa QFile, QSaveFile */ /*! |