KIO
jobuidelegate.h
39class KIOWIDGETS_EXPORT JobUiDelegate : public KDialogJobUiDelegate, public JobUiDelegateExtension
54 * @param ifaces Interface instances such as OpenWithHandlerInterface to replace the default interfaces
57 explicit JobUiDelegate(KJobUiDelegate::Flags flags = AutoHandlingDisabled, QWidget *window = nullptr, const QList<QObject *> &ifaces = {});
95 bool askDeleteConfirmation(const QList<QUrl> &urls, DeletionType deletionType, ConfirmationType confirmationType) override;
KDialogJobUiDelegate()
QWidget * window() const
FileUndoManager: makes it possible to undo kio jobs.
Definition fileundomanager.h:38
DeletionType
The type of deletion: real deletion, moving the files to the trash or emptying the trash Used by askD...
Definition jobuidelegateextension.h:150
ConfirmationType
ForceConfirmation: always ask the user for confirmation DefaultConfirmation: don't ask the user if he...
Definition jobuidelegateextension.h:161
void updateUrlInClipboard(const QUrl &src, const QUrl &dest) override
Update URL in clipboard, if present.
Definition jobuidelegate.cpp:312
static void unregisterWindow(QWidget *window)
Unregister the given window from kded.
Definition jobuidelegate.cpp:173
JobUiDelegate(KJobUiDelegate::Flags flags=AutoHandlingDisabled, QWidget *window=nullptr, const QList< QObject * > &ifaces={})
Constructs a new KIO Job UI delegate.
Definition jobuidelegate.cpp:319
bool askDeleteConfirmation(const QList< QUrl > &urls, DeletionType deletionType, ConfirmationType confirmationType) override
Ask for confirmation before deleting/trashing urls.
Definition jobuidelegate.cpp:178
ClipboardUpdater * createClipboardUpdater(Job *job, ClipboardUpdaterMode mode) override
Creates a clipboard updater.
Definition jobuidelegate.cpp:304
void setWindow(QWidget *window) override
Associate this job with a window given by window.
Definition jobuidelegate.cpp:153
QFlags< Flag > Flags
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.