#### PyKDE - Python Bindings for KDE

# class KAr

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KAr
Inherits | KArchive

### methods

- KAr (filename)

  returns a KAr instance
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  filename | QString |

- KAr (dev)

  returns a KAr instance
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  dev | QIODevice |

- closeArchive ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- doneWriting (size)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  size | uint |

- fileName ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- openArchive (mode)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  mode | int |

- prepareWriting (name, user, group, size)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |
  size | uint |

- virtual_hook (id, data)

  returns nothing
  In versions KDE 3.1.0 and above only

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

- writeDir (name, user, group)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  user | QString |
  group | QString |