KDECore
kjobtrackerinterface.cpp
Go to the documentation of this file.
The interface to implement to track the progresses of a job.
Definition: kjobtrackerinterface.h:33
virtual void registerJob(KJob *job)
Register a new job in this tracker.
Definition: kjobtrackerinterface.cpp:46
virtual void speed(KJob *job, unsigned long value)
Called to show the speed of the job.
Definition: kjobtrackerinterface.cpp:144
virtual void finished(KJob *job)
Called when a job is finished, in any case.
Definition: kjobtrackerinterface.cpp:84
KJobTrackerInterface(QObject *parent=0)
Creates a new KJobTrackerInterface.
Definition: kjobtrackerinterface.cpp:35
virtual void totalAmount(KJob *job, KJob::Unit unit, qulonglong amount)
Called when we know the amount a job will have to process.
Definition: kjobtrackerinterface.cpp:124
virtual void percent(KJob *job, unsigned long percent)
Called to show the overall progress of the job.
Definition: kjobtrackerinterface.cpp:138
virtual void suspended(KJob *job)
Called when a job is suspended.
Definition: kjobtrackerinterface.cpp:89
virtual void infoMessage(KJob *job, const QString &plain, const QString &rich)
Called to display state information about a job.
Definition: kjobtrackerinterface.cpp:110
virtual ~KJobTrackerInterface()
Destroys a KJobTrackerInterface.
Definition: kjobtrackerinterface.cpp:41
virtual void unregisterJob(KJob *job)
Unregister a job from this tracker.
Definition: kjobtrackerinterface.cpp:79
virtual void warning(KJob *job, const QString &plain, const QString &rich)
Emitted to display a warning about a job.
Definition: kjobtrackerinterface.cpp:117
virtual void processedAmount(KJob *job, KJob::Unit unit, qulonglong amount)
Regularly called to show the progress of a job by giving the current amount.
Definition: kjobtrackerinterface.cpp:131
virtual void description(KJob *job, const QString &title, const QPair< QString, QString > &field1, const QPair< QString, QString > &field2)
Called to display general description of a job.
Definition: kjobtrackerinterface.cpp:99
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.