KCoreAddons
kjobuidelegate.h
45 AutoHandlingEnabled = AutoErrorHandlingEnabled | AutoWarningHandlingEnabled, ///< Enables both error and warning handling
bool isAutoErrorHandlingEnabled() const
Returns whether automatic error handling is enabled or disabled.
Definition kjobuidelegate.cpp:82
bool isAutoWarningHandlingEnabled() const
Returns whether automatic warning handling is enabled or disabled.
Definition kjobuidelegate.cpp:92
Flag
Flags for the constructor, to enable automatic handling of errors and/or warnings.
Definition kjobuidelegate.h:41
@ AutoErrorHandlingEnabled
Equivalent to setAutoErrorHandlingEnabled(true)
Definition kjobuidelegate.h:43
@ AutoWarningHandlingEnabled
Equivalent to setAutoWarningHandlingEnabled(true)
Definition kjobuidelegate.h:44
virtual void showErrorMessage()
Display to the user the error given by this job.
Definition kjobuidelegate.cpp:70
KJob * job() const
Retrieves the current job this UI delegate is attached to.
Definition kjobuidelegate.cpp:65
void setAutoErrorHandlingEnabled(bool enable)
Enable or disable the automatic error handling.
Definition kjobuidelegate.cpp:77
KJobUiDelegate(Flags flags={KJobUiDelegate::AutoHandlingDisabled})
Constructs a new KJobUiDelegate with a flags argument.
Definition kjobuidelegate.cpp:37
void setAutoWarningHandlingEnabled(bool enable)
Enable or disable the automatic warning handling.
Definition kjobuidelegate.cpp:87
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.