KDialogJobUiDelegate Class Reference
from PyKDE4.kdeui import *
Inherits: KJobUiDelegate → QObject
Detailed Description
A UI delegate using KMessageBox for interaction (showing errors and warnings).
Method Documentation
Constructs a new KDialogJobUiDelegate.
setWindow |
( |
self, |
|
|
|
QWidget |
window |
|
) |
|
|
|
Associate this job with a window given by window.
- Parameters:
-
| window | the window to associate to
|
- See also:
- window()
showErrorMessage |
( |
|
self ) |
|
slotWarning |
( |
self, |
|
|
|
KJob |
job, |
|
|
QString |
plain, |
|
|
QString |
rich |
|
) |
|
|
|
updateUserTimestamp |
( |
self, |
|
|
|
long |
time |
|
) |
|
|
|
Updates the last user action timestamp to the given time.
See KApplication.updateUserTimestamp().
long userTimestamp |
( |
|
self ) |
|
Returns the window this job is associated with.
- Returns:
- the associated window
- See also:
- setWindow()