KDEUI
KDialogJobUiDelegate Class Reference
A UI delegate using KMessageBox for interaction (showing errors and warnings). More...
#include <kdialogjobuidelegate.h>

Public Member Functions | |
KDialogJobUiDelegate () | |
virtual void | setWindow (QWidget *window) |
virtual void | showErrorMessage () |
void | updateUserTimestamp (unsigned long time) |
unsigned long | userTimestamp () const |
QWidget * | window () const |
virtual | ~KDialogJobUiDelegate () |
Protected Slots | |
virtual void | slotWarning (KJob *job, const QString &plain, const QString &rich) |
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 | ( | ) |
Constructs a new KDialogJobUiDelegate.
Definition at line 43 of file kdialogjobuidelegate.cpp.
KDialogJobUiDelegate::~KDialogJobUiDelegate | ( | ) | [virtual] |
Destroys the KDialogJobUiDelegate.
Definition at line 52 of file kdialogjobuidelegate.cpp.
Member Function Documentation
void KDialogJobUiDelegate::setWindow | ( | QWidget * | window | ) | [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.
void KDialogJobUiDelegate::showErrorMessage | ( | ) | [virtual] |
Reimplemented from KJobUiDelegate.
Definition at line 80 of file kdialogjobuidelegate.cpp.
void KDialogJobUiDelegate::slotWarning | ( | KJob * | job, | |
const QString & | plain, | |||
const QString & | rich | |||
) | [protected, virtual, slot] |
Reimplemented from KJobUiDelegate.
Definition at line 88 of file kdialogjobuidelegate.cpp.
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.
unsigned long KDialogJobUiDelegate::userTimestamp | ( | ) | const |
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: