org.kde.koala

Class DefaultProgress

public class DefaultProgress extends ProgressBase

Constructor Summary
protected DefaultProgress(Class dummy)
DefaultProgress(boolean showNow)
Creates a new default progress dialog.
DefaultProgress()
DefaultProgress(QWidget parent, String name)
Creates a new default progress dialog.
DefaultProgress(QWidget parent)
Method Summary
protected voidcheckDestination(KURL dest)
StringclassName()
protected voidinit()
booleankeepOpen()
static StringmakePercentString(long percent, long totalSize, long totalFiles)
QMetaObjectmetaObject()
protected voidsetDestVisible(boolean visible)
protected voidshowTotals()
voidslotCanResume(Job arg1, long arg2)
voidslotClean()
Called when the job is cleaned.
voidslotCopying(Job arg1, KURL src, KURL dest)
voidslotCreatingDir(Job arg1, KURL dir)
voidslotDeleting(Job arg1, KURL url)
voidslotInfoMessage(Job job, String msg)
Called to set an information message.
voidslotMounting(Job arg1, String dev, String point)
Called when the job is mounting.
voidslotMoving(Job arg1, KURL src, KURL dest)
voidslotPercent(Job arg1, long percent)
voidslotProcessedDirs(Job arg1, long dirs)
voidslotProcessedFiles(Job arg1, long files)
voidslotProcessedSize(Job arg1, long bytes)
voidslotSpeed(Job arg1, long speed)
voidslotStating(Job arg1, KURL dir)
Called when the job is requesting a stat.
voidslotTotalDirs(Job arg1, long dirs)
voidslotTotalFiles(Job arg1, long files)
voidslotTotalSize(Job arg1, long size)
voidslotTransferring(Job arg1, KURL url)
Called when the job is transferring.
voidslotUnmounting(Job arg1, String point)
Called when the job is unmounting.

Constructor Detail

DefaultProgress

protected DefaultProgress(Class dummy)

DefaultProgress

public DefaultProgress(boolean showNow)
Creates a new default progress dialog.

Parameters: showNow true to show immediately, false to show when needed

UNKNOWN: Creates a new default progress dialog.

DefaultProgress

public DefaultProgress()

DefaultProgress

public DefaultProgress(QWidget parent, String name)
Creates a new default progress dialog.

Parameters: parent the parent of the dialog (or 0 for top-level) the name of the dialog, can be 0

UNKNOWN: Creates a new default progress dialog.

DefaultProgress

public DefaultProgress(QWidget parent)

Method Detail

checkDestination

protected void checkDestination(KURL dest)

className

public String className()

init

protected void init()

keepOpen

public boolean keepOpen()

makePercentString

public static String makePercentString(long percent, long totalSize, long totalFiles)

metaObject

public QMetaObject metaObject()

setDestVisible

protected void setDestVisible(boolean visible)

showTotals

protected void showTotals()

slotCanResume

public void slotCanResume(Job arg1, long arg2)

slotClean

public void slotClean()
Called when the job is cleaned.

UNKNOWN: Called when the job is cleaned.

slotCopying

public void slotCopying(Job arg1, KURL src, KURL dest)

slotCreatingDir

public void slotCreatingDir(Job arg1, KURL dir)

slotDeleting

public void slotDeleting(Job arg1, KURL url)

slotInfoMessage

public void slotInfoMessage(Job job, String msg)
Called to set an information message.

Parameters: job the KIO.Job msg the message to set

UNKNOWN: Called to set an information message.

slotMounting

public void slotMounting(Job arg1, String dev, String point)
Called when the job is mounting.

Parameters: job the KIO.Job dev the device to mount point the mount point

UNKNOWN: Called when the job is mounting.

slotMoving

public void slotMoving(Job arg1, KURL src, KURL dest)

slotPercent

public void slotPercent(Job arg1, long percent)

slotProcessedDirs

public void slotProcessedDirs(Job arg1, long dirs)

slotProcessedFiles

public void slotProcessedFiles(Job arg1, long files)

slotProcessedSize

public void slotProcessedSize(Job arg1, long bytes)

slotSpeed

public void slotSpeed(Job arg1, long speed)

slotStating

public void slotStating(Job arg1, KURL dir)
Called when the job is requesting a stat.

Parameters: job the KIO.Job dir the dir to stat

UNKNOWN: Called when the job is requesting a stat.

slotTotalDirs

public void slotTotalDirs(Job arg1, long dirs)

slotTotalFiles

public void slotTotalFiles(Job arg1, long files)

slotTotalSize

public void slotTotalSize(Job arg1, long size)

slotTransferring

public void slotTransferring(Job arg1, KURL url)
Called when the job is transferring.

Parameters: job the KIO.Job url the url to transfer

UNKNOWN: Called when the job is transferring.

slotUnmounting

public void slotUnmounting(Job arg1, String point)
Called when the job is unmounting.

Parameters: job the KIO.Job point the mount point

UNKNOWN: Called when the job is unmounting.