KNotificationJobUiDelegate Class
A UI delegate using KNotification for interaction (showing errors and warnings). More...
| Header: | #include <KNotificationJobUiDelegate> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS JobWidgets)target_link_libraries(mytarget PRIVATE KF6::JobWidgets) |
| Since: | 6.0 |
| Inherits: | KJobUiDelegate |
Public Functions
(since 6.0) | KNotificationJobUiDelegate(KJobUiDelegate::Flags flags = {KJobUiDelegate::AutoHandlingDisabled}) |
Reimplemented Public Functions
| virtual void | showErrorMessage() override |
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 6.0.
[override virtual] void KNotificationJobUiDelegate::showErrorMessage()
Reimplements: KJobUiDelegate::showErrorMessage().
Display a notification to inform the user of the error given by this job.