10#ifndef KDIALOGJOBUIDELEGATE_H
11#define KDIALOGJOBUIDELEGATE_H
13#include <KJobUiDelegate>
14#include <kjobwidgets_export.h>
78 unsigned long userTimestamp()
const;
80 void showErrorMessage()
override;
83 void slotWarning(KJob *job,
const QString &plain,
const QString &rich)
override;
86 std::unique_ptr<class KDialogJobUiDelegatePrivate>
const d;
A UI delegate using KMessageBox for interaction (showing errors and warnings).
Definition kdialogjobuidelegate.h:26
KDialogJobUiDelegate()
Constructs a new KDialogJobUiDelegate.
QWidget * window() const
Returns the window this delegate is associated with.
bool setJob(KJob *job) override
KDialogJobUiDelegate(KJobUiDelegate::Flags flags, QWidget *window)
Constructs a new KDialogJobUiDelegate.
void updateUserTimestamp(unsigned long time)
Updates the last user action timestamp to the given time.
virtual void setWindow(QWidget *window)
Associate this delegate with a window given by window.
~KDialogJobUiDelegate() override
Destroys the KDialogJobUiDelegate.