class KTar

#### PyKDE - Python Bindings for KDE

# class KTar |
Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KTar
Inherits | KArchive

### methods

- KTar (filename, mimetype = QString .null)

  returns a KTar instance
  Argument | Type | Default
  --- | --- | ---
  filename | QString |
  mimetype | QString | QString .null

- KTar (dev)

  returns a KTar instance
  Argument | Type | Default
  --- | --- | ---
  dev | QIODevice |

- closeArchive ()

  returns (bool)

- doneWriting (size)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  size | uint |

- fileName ()

  returns (QString)

- openArchive (mode)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  mode | int |

- prepareWriting (name, user, group, size)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  size | uint |

- prepareWriting (name, user, group, size, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  size | uint |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- prepareWriting_impl (name, user, group, size, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  size | uint |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- setOrigFileName (fileName)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  fileName | QCString |

- writeDir (name, user, group)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |

- writeDir (name, user, group, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- writeDir_impl (name, user, group, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- writeSymLink (name, target, user, group, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  target | QString |
  user | QString |
  group | QString |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- writeSymLink_impl (name, target, user, group, perm, atime, mtime, ctime)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |
  target | QString |
  user | QString |
  group | QString |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |