class JobUiDelegate |
|
A UI delegate tuned to be used with KIO Jobs. |
|
Constructs a new KIO Job UI delegate. |
|
Ask for confirmation before deleting/trashing urls.
Note that this method is not called automatically by KIO jobs. It's the application's responsibility to ask the user for confirmation before calling KIO.del() or KIO.trash(). urls - the urls about to be deleted/trashed method - the type of deletion (Delete for real deletion, Trash otherwise) confirmation - see ConfirmationType. Normally set to DefaultConfirmation. Note: the window passed to setWindow is used as the parent for the message box. Returns true if confirmed |
|
\relates KIO.RenameDialog
Construct a modal, parent-less "rename" dialog, and return
a result code, as well as the new dest. Much easier to use than the
class RenameDialog directly.
caption - the caption for the dialog box src - the URL of the file/dir we're trying to copy, as it's part of the text message dest - the URL of the destination file/dir, i.e. the one that already exists mode - parameters for the dialog (which buttons to show...), see RenameDialog_Mode newDestPath - the new destination path, valid if R_RENAME was returned. sizeSrc - size of source file sizeDest - size of destination file ctimeSrc - creation time of source file ctimeDest - creation time of destination file mtimeSrc - modification time of source file mtimeDest - modification time of destination file Returns the result |
|
Internal See skipdialog.h |
|
Associate this job with a window given by window.
window - the window to associate to See also window() |
ForceConfirmation: always ask the user for confirmation DefaultConfirmation: don't ask the user if he/she said "don't ask again".
Used by askDeleteConfirmation.
DefaultConfirmation | - | - | ||
ForceConfirmation | - | - |
The type of deletion: real deletion, or moving the files to the trash Used by askDeleteConfirmation.
Delete | - | - | ||
Trash | - | - |