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
- KNotificationJobUiDelegate(KJobUiDelegate::Flags flags = {KJobUiDelegate::AutoHandlingDisabled}) (since 6.0)
- void showErrorMessage()
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.