KDECore
Go to the documentation of this file.
85 void setExtraField( ExtraField ef );
92 ExtraField extraField()
const;
98 DeflateCompression = 1
108 void setCompression( Compression c );
115 Compression compression()
const;
123 virtual bool writeData(
const char* data,
qint64 size );
127 virtual bool doWriteSymLink(
const QString &name,
const QString &target,
129 mode_t perm, time_t atime, time_t mtime, time_t ctime);
131 virtual bool doPrepareWriting(
const QString& name,
const QString& user,
133 time_t atime, time_t mtime, time_t ctime );
140 virtual bool doFinishWriting(
qint64 size );
148 virtual bool openArchive( QIODevice::OpenMode mode );
151 virtual bool closeArchive();
154 virtual bool doWriteDir(
const QString& name,
const QString& user,
155 const QString& group, mode_t perm, time_t atime,
156 time_t mtime, time_t ctime );
159 virtual void virtual_hook(
int id,
void* data );
163 KZipPrivate *
const d;
179 int encoding,
qint64 compressedSize);
186 int encoding()
const;
187 qint64 compressedSize()
const;
190 void setCompressedSize(
qint64 compressedSize);
193 void setHeaderStart(
qint64 headerstart);
194 qint64 headerStart()
const;
197 unsigned long crc32()
const;
198 void setCRC32(
unsigned long crc32);
207 virtual QByteArray data()
const;
219 class KZipFileEntryPrivate;
220 KZipFileEntryPrivate *
const d;
Represents a file entry in a KArchive.
KArchive is a base class for reading and writing archives.
A KZipFileEntry represents an file in a zip archive.
A class for reading / writing zip archives.
ExtraField
Describes the contents of the "extra field" for a given file in the Zip archive.
Compression
Describes the compression type for a given file in the Zip archive.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.