# class KZipFileEntry

###

Module | kio
Namespace |
Class | KZipFileEntry
Inherits | KArchiveFile

### methods

- KZipFileEntry (zip, name, access, date, user, group, symlink, path, start, uncompressedSize, encoding, compressedSize)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  zip | KZip |
  name | QString |
  access | int |
  date | int |
  user | QString |
  group | QString |
  symlink | QString |
  path | QString |
  start | qint64 |
  uncompressedSize | qint64 |
  encoding | int |
  compressedSize | qint64 |

  Creates a new zip file entry. Do not call this, KZip takes care of it.

- compressedSize ( )

  returns qint64

- crc32 ( )

  returns unsigned long

  CRC: only used when writing

- createDevice ( )

  returns QIODevice

  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.

- data ( )

  returns QByteArray

  Returns the content of this file. Call data() with care (only once per file), this data isn't cached.

- encoding ( )

  returns int

- headerStart ( )

  returns qint64

- path ( )

  returns QString

  Name with complete path - KArchiveFile.name() is the filename only (no path)

- setCRC32 (crc32)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  crc32 | unsigned long |

- setCompressedSize (compressedSize)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  compressedSize | qint64 |

  Only used when writing

- setHeaderStart (headerstart)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  headerstart | qint64 |

  Header start: only used when writing