9#ifndef KSTATUSBARJOBTRACKER_H
10#define KSTATUSBARJOBTRACKER_H
12#include <kabstractwidgetjobtracker.h>
14class KStatusBarJobTrackerPrivate;
31 NoInformation = 0x0000,
33 ProgressOnly = 0x0002,
59 void registerJob(KJob *job) override;
66 void unregisterJob(KJob *job) override;
73 QWidget *widget(KJob *job) override;
87 virtual
void description(KJob *job, const QString &title, const QPair<QString, QString> &field1, const QPair<QString, QString> &field2) override;
88 void totalAmount(KJob *job, KJob::Unit unit, qulonglong amount) override;
89 void percent(KJob *job,
unsigned long percent) override;
90 void speed(KJob *job,
unsigned long value) override;
91 void slotClean(KJob *job) override;
95#if KJOBWIDGETS_BUILD_DEPRECATED_SINCE(5, 79)
97 QT_WARNING_DISABLE_CLANG(
"-Wunused-private-field")
99 const
void *__kjobwidgets_d_do_not_use;
This class implements a job tracker with a widget suited for embedding in a status bar.
Definition kstatusbarjobtracker.h:23
QFlags< StatusBarMode > StatusBarModes
Stores a combination of #StatusBarMode values.
Definition kstatusbarjobtracker.h:39
StatusBarMode
Definition kstatusbarjobtracker.h:30