KDECore
KZipFileEntry Class Reference
#include <kzip.h>
Inheritance diagram for KZipFileEntry:

Additional Inherited Members | |
![]() | |
virtual void | virtual_hook (int id, void *data) |
![]() | |
KArchive * | archive () const |
Detailed Description
A KZipFileEntry represents an file in a zip archive.
Constructor & Destructor Documentation
◆ KZipFileEntry()
◆ ~KZipFileEntry()
KZipFileEntry::~KZipFileEntry | ( | ) |
Member Function Documentation
◆ compressedSize()
◆ crc32()
unsigned long KZipFileEntry::crc32 | ( | ) | const |
◆ createDevice()
|
virtual |
This method returns a QIODevice to read the file contents.
This is obviously for reading only. Note that the ownership of the device is being transferred to the caller, who will have to delete it. The returned device auto-opens (in readonly mode), no need to open it.
Reimplemented from KArchiveFile.
◆ data()
|
virtual |
- Returns
- the content of this file. Call data() with care (only once per file), this data isn't cached.
Reimplemented from KArchiveFile.
◆ encoding()
◆ headerStart()
◆ path()
Name with complete path - KArchiveFile::name() is the filename only (no path)
◆ setCompressedSize()
◆ setCRC32()
◆ setHeaderStart()
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.