PyKDE - Python Bindings for KDE
class KIO.Slave
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KIO.Slave
Inherits
KIO.SlaveInterface
methods
Slave
(derived, unixdomain, protocol, socketname)
returns
a Slave instance
In versions KDE 3.2.0 and above only
Argument
Type
Default
derived
bool
unixdomain
KServerSocket
protocol
QString
socketname
QString
Slave
(unixdomain, protocol, socketname)
returns
a Slave instance
Argument
Type
Default
unixdomain
KServerSocket
protocol
QString
socketname
QString
accept
(socket)
returns
nothing
Argument
Type
Default
socket
KSocket
connection
()
returns
(KIO.Connection)
createSlave
(protocol, url)
returns
(KIO.Slave) error (int) error_text (QString)
static
Argument
Type
Default
protocol
QString
url
KURL
deref
()
returns
nothing
gotInput
()
returns
nothing
hold
(url)
returns
nothing
Argument
Type
Default
url
KURL
holdSlave
(protocol, url)
returns
(KIO.Slave)
static
Argument
Type
Default
protocol
QString
url
KURL
host
()
returns
(QString)
idleTime
()
returns
(time_t)
isAlive
()
returns
(bool)
isConnected
()
returns
(bool)
kill
()
returns
nothing
passwd
()
returns
(QString)
port
()
returns
(int)
protocol
()
returns
(QString)
ref
()
returns
nothing
resetHost
()
returns
nothing
resume
()
returns
nothing
send
(cmd, data = QByteArray ())
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
cmd
int
data
QByteArray
QByteArray ()
setConfig
(config)
returns
nothing
Argument
Type
Default
config
KIO.MetaData
setConnected
(c)
returns
nothing
Argument
Type
Default
c
bool
setHost
(host, port, user, passwd)
returns
nothing
Argument
Type
Default
host
QString
port
int
user
QString
passwd
QString
setIdle
()
returns
nothing
setPID
(a0)
returns
nothing
Argument
Type
Default
a0
pid_t
setProtocol
(protocol)
returns
nothing
Argument
Type
Default
protocol
QString
slaveDied
(slave)
returns
nothing
Argument
Type
Default
slave
KIO.Slave
slaveProtocol
()
returns
(QString)
slave_pid
()
returns
(int)
suspend
()
returns
nothing
suspended
()
returns
(bool)
timeout
()
returns
nothing
unlinkSocket
()
returns
nothing
user
()
returns
(QString)