PyKDE - Python Bindings for KDE
class KArchive
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KArchive
(
abstract
)
Inherits
methods
KArchive
(dev)
returns
a KArchive instance
Argument
Type
Default
dev
TQIODevice
addLocalDirectory
(path, destName)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
path
TQString
destName
TQString
addLocalFile
(fileName, destName)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
fileName
TQString
destName
TQString
close
()
returns
nothing
closeArchive
() = 0
returns
(bool)
pure virtual
closeSucceeded
()
returns
(bool)
In versions KDE 3.5.0 and above only
device
()
returns
(TQIODevice)
directory
()
returns
(KArchiveDirectory)
doneWriting
(size) = 0
returns
(bool)
pure virtual
Argument
Type
Default
size
uint
findOrCreate
(path)
returns
(KArchiveDirectory)
Argument
Type
Default
path
TQString
isOpened
()
returns
(bool)
mode
()
returns
(int)
open
(mode)
returns
(bool)
Argument
Type
Default
mode
int
openArchive
(mode) = 0
returns
(bool)
pure virtual
Argument
Type
Default
mode
int
prepareWriting
(name, user, group, size) = 0
returns
(bool)
pure virtual
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
rootDir
()
returns
(KArchiveDirectory)
setDevice
(dev)
returns
nothing
Argument
Type
Default
dev
TQIODevice
setRootDir
(rootDir)
returns
nothing
Argument
Type
Default
rootDir
KArchiveDirectory
writeData
(data, size)
returns
(bool)
In versions KDE 3.2.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) = 0
returns
(bool)
pure virtual
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
writeFile
(name, user, group, size, data)
returns
(bool)
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
writeFile_impl
(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
~KArchive
()
returns
nothing
In versions
less than
KDE 3.1.0 only