Pages
API Documentation
On this page

KNotificationJobUiDelegate Class

A UI delegate using KNotification for interaction (showing errors and warnings). This class was introduced in Qt 6.0. More...

  • Header: #include <KNotificationJobUiDelegate>
  • Since: Qt 6.0
  • 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

Member Function Documentation

[explicit, since 6.0] KNotificationJobUiDelegate::KNotificationJobUiDelegate(KJobUiDelegate::Flags flags = {KJobUiDelegate::AutoHandlingDisabled})

Constructs a new KNotificationJobUiDelegate.

flags allows to enable automatic error/warning handling

This function was introduced in Qt 6.0.

[override virtual] void KNotificationJobUiDelegate::showErrorMessage()

Reimplements: KJobUiDelegate::showErrorMessage().

Display a notification to inform the user of the error given by this job.

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