Pages
API Documentation
On this page

KDialogJobUiDelegate Class

A UI delegate using KMessageBox for interaction (showing errors and warnings). More...

  • Header: #include <KDialogJobUiDelegate>
  • CMake: find_package(KF6 REQUIRED COMPONENTS JobWidgets)
    target_link_libraries(mytarget PRIVATE KF6::JobWidgets)
  • Inherits: KJobUiDelegate

List of all members, including inherited members

Public Functions

Detailed Description

The KMessageBox will use window as a parent in an application-modal.

Member Function Documentation

KDialogJobUiDelegate::KDialogJobUiDelegate()

Constructs a new KDialogJobUiDelegate.

[explicit] KDialogJobUiDelegate::KDialogJobUiDelegate(KJobUiDelegate::Flags flags, QWidget *window)

Constructs a new KDialogJobUiDelegate.

flags allows to enable automatic error/warning handling

window the window associated with this delegate, see setWindow.

[virtual] void KDialogJobUiDelegate::setWindow(QWidget *window)

Associate this delegate with a window given by window.

Needed for dialog boxes to respect stacking order, centering to parent, focus going back to parent after closing...

window the window to associate to

See also window()

void KDialogJobUiDelegate::updateUserTimestamp(unsigned long time)

Updates the last user action timestamp to the given time.

QWidget *KDialogJobUiDelegate::window() const

Returns the window this delegate is associated with.

See also setWindow()

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