org.kde.koala

Class ListJob

public class ListJob extends SimpleJob

A ListJob is allows you to get the get the content of a directory. Don't create the job directly, but use KIO.listRecursive() or KIO.listDir() instead. See ListJobSignals for signals emitted by ListJob

See Also: ListJob ListJob

UNKNOWN: A ListJob is allows you to get the get the content of a directory.

Constructor Summary
protected ListJob(Class dummy)
ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden)
Do not create a ListJob directly.
ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix)
ListJob(KURL url, boolean showProgressInfo, boolean recursive)
ListJob(KURL url, boolean showProgressInfo)
Method Summary
StringclassName()
QMetaObjectmetaObject()
KURLredirectionURL()
Returns the ListJob's redirection URL.
voidsetUnrestricted(boolean unrestricted)
Do not apply any KIOSK restrictions to this job.
protected voidslotFinished()
protected voidslotRedirection(KURL url)
protected voidslotResult(Job job)
voidstart(Slave slave)
Called by the scheduler when a slave gets to work on this job.

Constructor Detail

ListJob

protected ListJob(Class dummy)

ListJob

public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden)
Do not create a ListJob directly. Use KIO.listDir() or KIO.listRecursive() instead.

Parameters: url the url of the directory showProgressInfo true to show progress information to the user recursive true to get the data recursively from child directories, false to get only the content of the specified dir prefix the prefix of the files, or null for no prefix includeHidden true to include hidden files (those starting with '.')

UNKNOWN: Do not create a ListJob directly.

ListJob

public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix)

ListJob

public ListJob(KURL url, boolean showProgressInfo, boolean recursive)

ListJob

public ListJob(KURL url, boolean showProgressInfo)

Method Detail

className

public String className()

metaObject

public QMetaObject metaObject()

redirectionURL

public KURL redirectionURL()
Returns the ListJob's redirection URL. This will be invalid if there was no redirection.

Returns: the redirection url

UNKNOWN: Returns the ListJob's redirection URL.

setUnrestricted

public void setUnrestricted(boolean unrestricted)
Do not apply any KIOSK restrictions to this job.

UNKNOWN: Do not apply any KIOSK restrictions to this job.

slotFinished

protected void slotFinished()

slotRedirection

protected void slotRedirection(KURL url)

slotResult

protected void slotResult(Job job)

start

public void start(Slave slave)
Called by the scheduler when a slave gets to work on this job.

Parameters: slave the slave that starts working on this job

UNKNOWN: