#### PyKDE - Python Bindings for KDE

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

Module | tdeio
Class | KTar
Inherits | KArchive

### methods

- KTar (filename, mimetype = TQString .null)

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

- KTar (dev)

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

- closeArchive ()

  returns (bool)

- doneWriting (size)

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

- fileName ()

  returns (TQString)

- openArchive (mode)

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

- prepareWriting (name, user, group, size)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  user | TQString |
  group | TQString |
  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 | TQString |
  user | TQString |
  group | TQString |
  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 | TQString |
  user | TQString |
  group | TQString |
  size | uint |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |

- setOrigFileName (fileName)

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

- writeDir (name, user, group)

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

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

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  user | TQString |
  group | TQString |
  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 | TQString |
  user | TQString |
  group | TQString |
  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 | TQString |
  target | TQString |
  user | TQString |
  group | TQString |
  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 | TQString |
  target | TQString |
  user | TQString |
  group | TQString |
  perm | mode_t |
  atime | time_t |
  mtime | time_t |
  ctime | time_t |