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
TQString
socketname
TQString
Slave
(unixdomain, protocol, socketname)
returns
a Slave instance
Argument
Type
Default
unixdomain
KServerSocket
protocol
TQString
socketname
TQString
accept
(socket)
returns
nothing
Argument
Type
Default
socket
KSocket
connection
()
returns
(KIO.Connection)
createSlave
(protocol, url)
returns
(KIO.Slave) error (int) error_text (TQString)
static
Argument
Type
Default
protocol
TQString
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
TQString
url
KURL
host
()
returns
(TQString)
idleTime
()
returns
(time_t)
isAlive
()
returns
(bool)
isConnected
()
returns
(bool)
kill
()
returns
nothing
passwd
()
returns
(TQString)
port
()
returns
(int)
protocol
()
returns
(TQString)
ref
()
returns
nothing
resetHost
()
returns
nothing
resume
()
returns
nothing
send
(cmd, data = TQByteArray ())
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
cmd
int
data
TQByteArray
TQByteArray ()
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
TQString
port
int
user
TQString
passwd
TQString
setIdle
()
returns
nothing
setPID
(a0)
returns
nothing
Argument
Type
Default
a0
pid_t
setProtocol
(protocol)
returns
nothing
Argument
Type
Default
protocol
TQString
slaveDied
(slave)
returns
nothing
Argument
Type
Default
slave
KIO.Slave
slaveProtocol
()
returns
(TQString)
slave_pid
()
returns
(int)
suspend
()
returns
nothing
suspended
()
returns
(bool)
timeout
()
returns
nothing
unlinkSocket
()
returns
nothing
user
()
returns
(TQString)