![]() |
Qt 6.x
The Qt SDK
|
#include <qfiledevice_p.h>
Inheritance diagram for QFileDevicePrivate:
Collaboration diagram for QFileDevicePrivate:Protected Member Functions | |
| QFileDevicePrivate () | |
| ~QFileDevicePrivate () | |
| virtual QAbstractFileEngine * | engine () const |
| bool | ensureFlushed () const |
| bool | putCharHelper (char c) override |
| void | setError (QFileDevice::FileError err) |
| void | setError (QFileDevice::FileError err, const QString &errorString) |
| void | setError (QFileDevice::FileError err, int errNum) |
Protected Attributes | |
| std::unique_ptr< QAbstractFileEngine > | fileEngine |
| qint64 | cachedSize |
| QFileDevice::FileHandleFlags | handleFlags |
| QFileDevice::FileError | error |
| bool | lastWasWrite |
Definition at line 41 of file qfiledevice_p.h.
|
protected |
Definition at line 19 of file qfiledevice.cpp.
References QFILE_WRITEBUFFER_SIZE, and QIODevicePrivate::writeBufferChunkSize.
|
protecteddefault |
|
protectedvirtual |
Reimplemented in QFilePrivate, and QTemporaryFilePrivate.
Definition at line 28 of file qfiledevice.cpp.
References fileEngine.
|
inlineprotected |
Definition at line 67 of file qfiledevice_p.h.
References QFileDevice::flush(), and lastWasWrite.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Reimplemented from QIODevicePrivate.
Definition at line 460 of file qfiledevice.cpp.
References QIODevicePrivate::devicePos, QIODevicePrivate::isSequential(), lastWasWrite, QIODeviceBase::NotOpen, QIODevicePrivate::openMode, QIODevicePrivate::pos, QIODevicePrivate::putCharHelper(), qWarning, QIODeviceBase::Text, QIODeviceBase::Unbuffered, QIODevicePrivate::writeBufferChunkSize, and QIODeviceBase::WriteOnly.
Here is the call graph for this function:
|
protected |
Definition at line 35 of file qfiledevice.cpp.
References QString::clear(), error, and QIODevicePrivate::errorString.
Here is the call graph for this function:
|
protected |
Definition at line 41 of file qfiledevice.cpp.
References error, and QIODevicePrivate::errorString.
|
protected |
Definition at line 47 of file qfiledevice.cpp.
References error, QIODevicePrivate::errorString, and qt_error_string().
Here is the call graph for this function:
|
mutableprotected |
Definition at line 59 of file qfiledevice_p.h.
|
protected |
Definition at line 62 of file qfiledevice_p.h.
Referenced by setError(), setError(), and setError().
|
mutableprotected |
Definition at line 58 of file qfiledevice_p.h.
Referenced by engine(), QFilePrivate::engine(), QTemporaryFilePrivate::engine(), QTemporaryFilePrivate::materializeUnnamedFile(), QFilePrivate::openExternalFile(), QFilePrivate::openExternalFile(), and QTemporaryFilePrivate::resetFileEngine().
|
protected |
Definition at line 61 of file qfiledevice_p.h.
Referenced by QFilePrivate::openExternalFile(), and QFilePrivate::openExternalFile().
|
protected |
Definition at line 64 of file qfiledevice_p.h.
Referenced by ensureFlushed(), and putCharHelper().