org.kde.koala
public class SimpleJob extends Job
UNKNOWN: A simple job (one url and one command).
| Constructor Summary | |
|---|---|
| protected | SimpleJob(Class dummy) |
| SimpleJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo)
Creates a new simple job. | |
| Method Summary | |
|---|---|
| String | className() |
| int | command() |
| void | kill(boolean quietly)
Abort job.
|
| void | kill() |
| QMetaObject | metaObject() |
| void | putOnHold()
Abort job.
|
| static void | removeOnHold()
Discard suspended slave. |
| Slave | slave()
Slave in use by this job. |
| void | slaveDone()
Called to detach a slave from a job. |
| protected void | slotConnected()
Called on a slave's connected signal. |
| void | slotError(int arg1, String arg2)
Called on a slave's error.
|
| protected void | slotFinished()
Called when the slave marks the job
as finished. |
| protected void | slotInfoMessage(String s)
Called on a slave's info message. |
| protected void | slotNeedProgressId() |
| protected void | slotProcessedSize(long data_size)
Forward signal from the slave. |
| protected void | slotSpeed(long speed)
Forward signal from the slave. |
| void | slotTotalSize(long data_size)
Forward signal from the slave
Can also be called by the parent job, when it knows the size. |
| protected void | slotWarning(String arg1)
Called on a slave's warning. |
| void | start(Slave slave)
Called by the scheduler when a slave gets to
work on this job. |
| protected void | storeSSLSessionFromJob(KURL m_redirectionURL) |
| KURL | url()
Returns the SimpleJob's URL |
Parameters: url the url of the job command the command of the job packedArgs the arguments showProgressInfo true to show progress information to the user
UNKNOWN: Creates a new simple job.
UNKNOWN:
Parameters: quietly if true, Job will emit signal result Should only be set to false when the user kills the job (from kio_uiserver), not when you want to abort a job.
UNKNOWN: Abort job.
UNKNOWN: Abort job.
UNKNOWN: Discard suspended slave.
UNKNOWN:
UNKNOWN:
See Also: SimpleJob
UNKNOWN: Called on a slave's connected signal.
UNKNOWN:
UNKNOWN: Called when the slave marks the job as finished.
Parameters: s the info message
See Also: SimpleJob
UNKNOWN: Called on a slave's info message.
UNKNOWN:
Parameters: data_size the processed size in bytes
See Also: SimpleJob
UNKNOWN: Forward signal from the slave.
Parameters: speed the speed in bytes/s
See Also: SimpleJob
UNKNOWN: Forward signal from the slave.
Parameters: data_size the total size
UNKNOWN: Forward signal from the slave Can also be called by the parent job, when it knows the size.
UNKNOWN:
UNKNOWN:
Returns: the url
UNKNOWN: Returns the SimpleJob's URL