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>
This commit is contained in:
parent
7c84a0cd29
commit
c9d9b43b10
@ -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
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user