Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QZipPrivate Class Reference
+ Inheritance diagram for QZipPrivate:
+ Collaboration diagram for QZipPrivate:

Public Member Functions

 QZipPrivate (QIODevice *device, bool ownDev)
 
 ~QZipPrivate ()
 
QZipReader::FileInfo fillFileInfo (int index) const
 

Public Attributes

QIODevicedevice
 
bool ownDevice
 
bool dirtyFileTree
 
QList< FileHeaderfileHeaders
 
QByteArray comment
 
uint start_of_directory
 

Detailed Description

Definition at line 382 of file qzip.cpp.

Constructor & Destructor Documentation

◆ QZipPrivate()

QZipPrivate::QZipPrivate ( QIODevice device,
bool  ownDev 
)
inline

Definition at line 385 of file qzip.cpp.

◆ ~QZipPrivate()

QZipPrivate::~QZipPrivate ( )
inline

Definition at line 390 of file qzip.cpp.

References device, and ownDevice.

Member Function Documentation

◆ fillFileInfo()

QZipReader::FileInfo QZipPrivate::fillFileInfo ( int  index) const

Definition at line 406 of file qzip.cpp.

References QList< T >::at(), QStringView::chop(), QZipReader::FileInfo::crc, WindowsFileAttributes::Dir, UnixFileAttributes::Dir, QStringView::endsWith(), QFileDevice::ExeGroup, QFileDevice::ExeOther, QFileDevice::ExeOwner, QFileDevice::ExeUser, WindowsFileAttributes::File, UnixFileAttributes::File, fileHeaders, QZipReader::FileInfo::filePath, QString::fromLocal8Bit(), QDir::fromNativeSeparators(), QString::fromUtf8(), header(), HostFAT, HostHPFS, HostNTFS, HostUnix, HostVFAT, QZipReader::FileInfo::isDir, QZipReader::FileInfo::isFile, QZipReader::FileInfo::isSymLink, QZipReader::FileInfo::lastModified, QStringView::mid(), modeToPermissions(), QZipReader::FileInfo::permissions, qWarning, QFileDevice::ReadGroup, readMSDosDate(), WindowsFileAttributes::ReadOnly, QFileDevice::ReadOther, QFileDevice::ReadOwner, readUInt(), QFileDevice::ReadUser, readUShort(), QZipReader::FileInfo::size, QStringView::startsWith(), UnixFileAttributes::SymLink, QStringView::toString(), WindowsFileAttributes::TypeMask, UnixFileAttributes::TypeMask, Utf8Names, QFileDevice::WriteGroup, QFileDevice::WriteOther, QFileDevice::WriteOwner, and QFileDevice::WriteUser.

Referenced by QZipReader::entryInfoAt(), and QZipReader::fileInfoList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ comment

QByteArray QZipPrivate::comment

Definition at line 402 of file qzip.cpp.

Referenced by QZipWriter::close(), and QZipReaderPrivate::scanFiles().

◆ device

◆ dirtyFileTree

bool QZipPrivate::dirtyFileTree

Definition at line 400 of file qzip.cpp.

Referenced by QZipWriterPrivate::addEntry(), and QZipReaderPrivate::scanFiles().

◆ fileHeaders

◆ ownDevice

bool QZipPrivate::ownDevice

Definition at line 399 of file qzip.cpp.

Referenced by ~QZipPrivate().

◆ start_of_directory

uint QZipPrivate::start_of_directory

The documentation for this class was generated from the following file: