KDEUI
#include <kdialogjobuidelegate.h>

Public Member Functions | |
KDialogJobUiDelegate () | |
virtual | ~KDialogJobUiDelegate () |
virtual void | setWindow (QWidget *window) |
virtual void | showErrorMessage () |
void | updateUserTimestamp (unsigned long time) |
unsigned long | userTimestamp () const |
QWidget * | window () const |
![]() | |
KJobUiDelegate () | |
virtual | ~KJobUiDelegate () |
bool | isAutoErrorHandlingEnabled () const |
bool | isAutoWarningHandlingEnabled () const |
void | setAutoErrorHandlingEnabled (bool enable) |
void | setAutoWarningHandlingEnabled (bool enable) |
virtual void | showErrorMessage () |
Protected Slots | |
virtual void | slotWarning (KJob *job, const QString &plain, const QString &rich) |
![]() | |
virtual void | slotWarning (KJob *job, const QString &plain, const QString &rich) |
Additional Inherited Members | |
![]() | |
KJob * | job () |
Detailed Description
A UI delegate using KMessageBox for interaction (showing errors and warnings).
Definition at line 32 of file kdialogjobuidelegate.h.
Constructor & Destructor Documentation
◆ KDialogJobUiDelegate()
KDialogJobUiDelegate::KDialogJobUiDelegate | ( | ) |
Constructs a new KDialogJobUiDelegate.
Definition at line 43 of file kdialogjobuidelegate.cpp.
◆ ~KDialogJobUiDelegate()
|
virtual |
Destroys the KDialogJobUiDelegate.
Definition at line 52 of file kdialogjobuidelegate.cpp.
Member Function Documentation
◆ setWindow()
|
virtual |
Associate this job with a window given by window
.
- Parameters
-
window the window to associate to
- See also
- window()
Definition at line 57 of file kdialogjobuidelegate.cpp.
◆ showErrorMessage()
|
virtual |
Reimplemented from KJobUiDelegate.
Definition at line 80 of file kdialogjobuidelegate.cpp.
◆ slotWarning
|
protectedvirtualslot |
Definition at line 88 of file kdialogjobuidelegate.cpp.
◆ updateUserTimestamp()
void KDialogJobUiDelegate::updateUserTimestamp | ( | unsigned long | time | ) |
Updates the last user action timestamp to the given time.
See KApplication::updateUserTimestamp().
Definition at line 67 of file kdialogjobuidelegate.cpp.
◆ userTimestamp()
unsigned long KDialogJobUiDelegate::userTimestamp | ( | ) | const |
Definition at line 75 of file kdialogjobuidelegate.cpp.
◆ window()
QWidget * KDialogJobUiDelegate::window | ( | ) | const |
Returns the window this job is associated with.
- Returns
- the associated window
- See also
- setWindow()
Definition at line 62 of file kdialogjobuidelegate.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.