KAr Class Reference
from PyKDE4.kio import *
Inherits: KArchive
Detailed Description
KAr is a class for reading archives in ar format. Writing
is not supported.
A class for reading ar archives.
- Author:
- Laurence Anderson <l.d.anderson@warwick.ac.uk>
Methods |
| __init__ (self, QString filename) |
| __init__ (self, QIODevice dev) |
| __init__ (self, KAr other) |
bool | closeArchive (self) |
bool | doFinishWriting (self, long size) |
bool | doPrepareWriting (self, QString name, QString user, QString group, long size, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
bool | doWriteDir (self, QString name, QString user, QString group, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
bool | doWriteSymLink (self, QString name, QString target, QString user, QString group, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
bool | openArchive (self, QIODevice.OpenMode mode) |
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
filename |
|
) |
|
|
|
__init__ |
( |
self, |
|
|
|
KAr |
other |
|
) |
|
|
|
bool closeArchive |
( |
|
self ) |
|
bool doFinishWriting |
( |
self, |
|
|
|
long |
size |
|
) |
|
|
|
Opens the archive for reading.
Parses the directory listing of the archive
and creates the KArchiveDirectory/KArchiveFile entries.