Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qfiledevice_p.h>
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.
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.
|
overrideprotectedvirtual |
Reimplemented from QIODevicePrivate.
Definition at line 489 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.
|
protected |
Definition at line 35 of file qfiledevice.cpp.
References QString::clear(), error, and QIODevicePrivate::errorString.
|
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().
|
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(), QFilePrivate::openExternalFile(), and QFilePrivate::openExternalFile().
|
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().