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. Change-Id: I1de3a32746a313ec57323f3f8ae42e326f11d147 Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit c9d9b43b10509020be706629060f83fa3091c4c8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
be6cd144d3
commit
13f2dfff7d
@ -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
|
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,
|
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
|
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
|
as QSaveFile, by providing all the operations that can be done on files that have
|
||||||
been opened by QFile or QTemporaryFile.
|
been opened by QFile or QSaveFile.
|
||||||
|
|
||||||
\sa QFile, QTemporaryFile
|
\sa QFile, QSaveFile
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user