# class KArchiveEntry

###

Module | kio
Namespace |
Class | KArchiveEntry
Inherits |

A base class for entries in an KArchive. Base class for the archive-file's directory structure.

See also KArchiveFile

See also KArchiveDirectory

### methods

- KArchiveEntry (archive, name, access, date, user, group, symlink)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  archive | KArchive |
  name | QString |
  access | int |
  date | int |
  user | QString |
  group | QString |
  symlink | QString |

  Creates a new entry.

  archive - the entries archive

  name - the name of the entry

  access - the permissions in unix format

  date - the date (in seconds since 1970)

  user - the user that owns the entry

  group - the group that owns the entry

  symlink - the symlink, or QString()

- archive ( )

  returns KArchive

- date ( )

  returns int

  Creation date of the file. Returns the creation date in seconds since 1970

- datetime ( )

  returns QDateTime

  Creation date of the file. Returns the creation date

- group ( )

  returns QString

  Group of the user who created the file. Returns the group of the file

- isDirectory ( )

  returns bool

  Checks whether the entry is a directory. Returns true if this entry is a directory

- isFile ( )

  returns bool

  Checks whether the entry is a file. Returns true if this entry is a file

- name ( )

  returns QString

  Name of the file without path. Returns the file name without path

- permissions ( )

  returns mode_t

  The permissions and mode flags as returned by the stat() function in st_mode. Returns the permissions

- symLinkTarget ( )

  returns QString

  Symlink if there is one. Returns the symlink, or QString()

- user ( )

  returns QString

  User who created the file. Returns the owner of the file

- virtual_hook (id, data)

  returns Nothing
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  id | int |
  data | void |