PyKDE - Python Bindings for KDE
class KProcIO
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KProcIO
Inherits
KProcess
methods
KProcIO
(codec = 0)
returns
a KProcIO instance
Argument
Type
Default
codec
QTextCodec
0
ackRead
()
returns
nothing
closeWhenDone
()
returns
nothing
controlledEmission
()
returns
nothing
enableReadSignals
(enable)
returns
nothing
Argument
Type
Default
enable
bool
fgets
(line, autoAck = 0)
returns
(int)
Argument
Type
Default
line
QString
autoAck
bool
0
fputs
(line, AppendNewLine = 1)
returns
(bool)
Argument
Type
Default
line
QString
AppendNewLine
bool
1
readReady
(pio)
returns
nothing
Argument
Type
Default
pio
KProcIO
readln
(autoAck = 1)
returns
(int) line (QString) partial (bool)
Argument
Type
Default
autoAck
bool
1
received
(proc, buffer, buflen)
returns
nothing
Argument
Type
Default
proc
KProcess
buffer
char
buflen
int
resetAll
()
returns
nothing
sent
(a0)
returns
nothing
Argument
Type
Default
a0
KProcess
setComm
(comm)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
comm
Communication
start
(runmode = NotifyOnExit, includeStderr = 0)
returns
(bool)
Argument
Type
Default
runmode
RunMode
NotifyOnExit
includeStderr
bool
0
writeStdin
(line, appendnewline = 1)
returns
(bool)
Argument
Type
Default
line
QString
appendnewline
bool
1
writeStdin
(line, appendnewline)
returns
(bool)
Argument
Type
Default
line
QCString
appendnewline
bool
writeStdin
(data)
returns
(bool)
Argument
Type
Default
data
QByteArray