You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
4.2 KiB
147 lines
4.2 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
|
|
/**
|
|
|
|
A simple job (one url and one command).
|
|
This is the base class for all jobs that are scheduled.
|
|
Other jobs are high-level jobs (CopyJob, DeleteJob, FileCopyJob...)
|
|
that manage subjobs but aren't scheduled directly.
|
|
@short A simple job (one url and one command).
|
|
|
|
*/
|
|
public class SimpleJob extends Job {
|
|
protected SimpleJob(Class dummy){super((Class) null);}
|
|
public native QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Creates a new simple job. You don't need to use this constructor,
|
|
unless you create a new job that inherits from SimpleJob.
|
|
@param url the url of the job
|
|
@param command the command of the job
|
|
@param packedArgs the arguments
|
|
@param showProgressInfo true to show progress information to the user
|
|
@short Creates a new simple job.
|
|
*/
|
|
public SimpleJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) {
|
|
super((Class) null);
|
|
newSimpleJob(url,command,packedArgs,showProgressInfo);
|
|
}
|
|
private native void newSimpleJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo);
|
|
/**
|
|
Returns the SimpleJob's URL
|
|
@return the url
|
|
|
|
@short Returns the SimpleJob's URL
|
|
*/
|
|
public native KURL url();
|
|
/**
|
|
Abort job.
|
|
This kills all subjobs and deletes the job.
|
|
@param 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.
|
|
@short Abort job.
|
|
*/
|
|
public native void kill(boolean quietly);
|
|
public native void kill();
|
|
/**
|
|
Abort job.
|
|
Suspends slave to be reused by another job for the same request.
|
|
@short Abort job.
|
|
*/
|
|
public native void putOnHold();
|
|
/**
|
|
Called by the scheduler when a slave gets to
|
|
work on this job.
|
|
@short
|
|
*/
|
|
public native void start(Slave slave);
|
|
/**
|
|
Called to detach a slave from a job.
|
|
@short
|
|
*/
|
|
public native void slaveDone();
|
|
/**
|
|
Slave in use by this job.
|
|
@short
|
|
*/
|
|
public native Slave slave();
|
|
/**
|
|
@short
|
|
*/
|
|
public native int command();
|
|
/**
|
|
Forward signal from the slave
|
|
Can also be called by the parent job, when it knows the size.
|
|
@param data_size the total size
|
|
@short Forward signal from the slave Can also be called by the parent job, when it knows the size.
|
|
*/
|
|
public native void slotTotalSize(long data_size);
|
|
/**
|
|
Called on a slave's error.
|
|
Made public for the scheduler.
|
|
@short
|
|
*/
|
|
public native void slotError(int arg1, String arg2);
|
|
/**
|
|
Discard suspended slave.
|
|
@short Discard suspended slave.
|
|
*/
|
|
public static native void removeOnHold();
|
|
protected native void storeSSLSessionFromJob(KURL m_redirectionURL);
|
|
/**
|
|
Called when the slave marks the job
|
|
as finished.
|
|
@short Called when the slave marks the job as finished.
|
|
*/
|
|
protected native void slotFinished();
|
|
/**
|
|
Called on a slave's warning.
|
|
@short
|
|
*/
|
|
protected native void slotWarning(String arg1);
|
|
/**
|
|
Called on a slave's info message.
|
|
@param s the info message
|
|
@short Called on a slave's info message.
|
|
@see #infoMessage
|
|
*/
|
|
protected native void slotInfoMessage(String s);
|
|
/**
|
|
Called on a slave's connected signal.
|
|
@short Called on a slave's connected signal.
|
|
@see #connected
|
|
*/
|
|
protected native void slotConnected();
|
|
/**
|
|
Forward signal from the slave.
|
|
@param data_size the processed size in bytes
|
|
@short Forward signal from the slave.
|
|
@see #processedSize
|
|
*/
|
|
protected native void slotProcessedSize(long data_size);
|
|
/**
|
|
Forward signal from the slave.
|
|
@param speed the speed in bytes/s
|
|
@short Forward signal from the slave.
|
|
@see #speed
|
|
*/
|
|
protected native void slotSpeed(long speed);
|
|
/**
|
|
MetaData from the slave is received.
|
|
@param _metaData the meta data
|
|
@short MetaData from the slave is received.
|
|
@see #metaData
|
|
*/
|
|
// void slotMetaData(const KIO::MetaData& arg1); >>>> NOT CONVERTED
|
|
/**
|
|
@short
|
|
*/
|
|
protected native void slotNeedProgressId();
|
|
}
|