Pages
API Documentation
On this page

KIO::JobUiDelegate Class

productname. More...

List of all members, including inherited members

Public Functions

Static Public Members

Protected Functions

Detailed Description

A UI delegate tuned to be used with KIO Jobs.

Member Function Documentation

[explicit protected] JobUiDelegate::JobUiDelegate(KJobUiDelegate::Flags flags = AutoHandlingDisabled, QWidget *window = nullptr, const QList<QObject *> &ifaces = {})

Constructs a new KIO Job UI delegate.

flags allows to enable automatic error/warning handling

window the window associated with this delegate, see setWindow.

ifaces Interface instances such as OpenWithHandlerInterface to replace the default interfaces

[override virtual] KIO::ClipboardUpdater *JobUiDelegate::createClipboardUpdater(KIO::Job *job, KIO::JobUiDelegateExtension::ClipboardUpdaterMode mode)

Reimplements: JobUiDelegateExtension::createClipboardUpdater(KIO::Job *job, KIO::JobUiDelegateExtension::ClipboardUpdaterMode mode).

Creates a clipboard updater

[override virtual] void JobUiDelegate::setWindow(QWidget *window)

Reimplements: KDialogJobUiDelegate::setWindow(QWidget *window).

Associate this job with a window given by window.

window the window to associate to

See also window()

[static] void JobUiDelegate::unregisterWindow(QWidget *window)

Unregister the given window from kded. This is normally done automatically when the window is destroyed.

This method is useful for instance when keeping a hidden window around to make it faster to reuse later.

[override virtual] void JobUiDelegate::updateUrlInClipboard(const QUrl &src, const QUrl &dest)

Reimplements: JobUiDelegateExtension::updateUrlInClipboard(const QUrl &src, const QUrl &dest).

Update URL in clipboard, if present

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.