PyKDE - Python Bindings for KDE
class KZip
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KZip
Inherits
KArchive
enums
Compression
= {NoCompression, DeflateCompression }
ExtraField
= {NoExtraField, ModificationTime, DefaultExtraField }
methods
KZip
(filename)
returns
a KZip instance
In versions KDE 3.1.0 and above only
Argument
Type
Default
filename
TQString
KZip
(dev)
returns
a KZip instance
In versions KDE 3.1.0 and above only
Argument
Type
Default
dev
TQIODevice
closeArchive
()
returns
(bool)
In versions KDE 3.1.0 and above only
compression
()
returns
(KZip.Compression)
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
extraField
()
returns
(KZip.ExtraField)
In versions KDE 3.2.0 and above only
fileName
()
returns
(TQString)
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
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
setCompression
(c)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
c
KZip.Compression
setExtraField
(ef)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
ef
KZip.ExtraField
virtual_hook
(id, data)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
id
int
data
void
writeData
(data, size)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
data
char
size
uint
writeData_impl
(data, size)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
data
char
size
uint
writeDir
(name, user, group)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
name
TQString
user
TQString
group
TQString
writeFile
(name, user, group, size, data)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
name
TQString
user
TQString
group
TQString
size
uint
data
char
writeFile
(name, user, group, size, perm, atime, mtime, ctime, data)
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
data
char
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