org.kde.koala

Class SlaveInterface

public class SlaveInterface extends QObject

There are two classes that specifies the protocol between application (KIO.Job) and kioslave. SlaveInterface is the class to use on the application end, SlaveBase is the one to use on the slave end. A call to foo() results in a call to slotFoo() on the other end. See SlaveInterfaceSignals for signals emitted by SlaveInterface

UNKNOWN: There are two classes that specifies the protocol between application (KIO.Job) and kioslave.

Constructor Summary
protected SlaveInterface(Class dummy)
Method Summary
StringclassName()
Connectionconnection()
QMetaObjectmetaObject()
longoffset()
intprogressId()
voidsendResumeAnswer(boolean resume)
Send our answer to the MSG_RESUME (canResume) request (to tell the "put" job whether to resume or not)
voidsetConnection(Connection connection)
voidsetOffset(long offset)
voidsetProgressId(int id)

Constructor Detail

SlaveInterface

protected SlaveInterface(Class dummy)

Method Detail

className

public String className()

connection

public Connection connection()

metaObject

public QMetaObject metaObject()

offset

public long offset()

progressId

public int progressId()

sendResumeAnswer

public void sendResumeAnswer(boolean resume)
Send our answer to the MSG_RESUME (canResume) request (to tell the "put" job whether to resume or not)

UNKNOWN: Send our answer to the MSG_RESUME (canResume) request (to tell the "put" job whether to resume or not)

setConnection

public void setConnection(Connection connection)

setOffset

public void setOffset(long offset)

setProgressId

public void setProgressId(int id)