KJobWidgets
knotificationjobuidelegate.cpp
23void KNotificationJobUiDelegatePrivate::showNotification(KNotification::StandardEvent standardEvent, const QString &text)
46 connect(job, &KJob::description, this, [this](KJob *, const QString &title, const QPair<QString, QString> &, const QPair<QString, QString> &) {
bool isAutoErrorHandlingEnabled() const
KJob * job() const
virtual bool setJob(KJob *job)
void description(KJob *job, const QString &title, const QPair< QString, QString > &field1=QPair< QString, QString >(), const QPair< QString, QString > &field2=QPair< QString, QString >())
~KNotificationJobUiDelegate() override
Destroys the KNotificationJobUiDelegate.
KNotificationJobUiDelegate(KJobUiDelegate::Flags flags={KJobUiDelegate::AutoHandlingDisabled})
Constructs a new KNotificationJobUiDelegate.
Definition knotificationjobuidelegate.cpp:33
void showErrorMessage() override
Display a notification to inform the user of the error given by this job.
Definition knotificationjobuidelegate.cpp:54
StandardEvent
static KNotification * event(const QString &eventId, const QString &text=QString(), const QPixmap &pixmap=QPixmap(), const NotificationFlags &flags=CloseOnTimeout, const QString &componentName=QString())
KGuiItem ok()
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString tr(const char *sourceText, const char *disambiguation, int n)
QString arg(Args &&... args) const const
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.