KCoreAddons
kjobtrackerinterface.cpp
70void KJobTrackerInterface::description(KJob *job, const QString &title, const QPair<QString, QString> &field1, const QPair<QString, QString> &field2)
The interface to implement to track the progresses of a job.
Definition kjobtrackerinterface.h:26
virtual void registerJob(KJob *job)
Register a new job in this tracker.
Definition kjobtrackerinterface.cpp:34
virtual void speed(KJob *job, unsigned long value)
Called to show the speed of the job.
Definition kjobtrackerinterface.cpp:110
virtual void warning(KJob *job, const QString &message)
Emitted to display a warning about a job.
Definition kjobtrackerinterface.cpp:84
virtual void finished(KJob *job)
Called when a job is finished, in any case.
Definition kjobtrackerinterface.cpp:55
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:90
virtual void percent(KJob *job, unsigned long percent)
Called to show the overall progress of the job.
Definition kjobtrackerinterface.cpp:104
virtual void suspended(KJob *job)
Called when a job is suspended.
Definition kjobtrackerinterface.cpp:60
virtual void infoMessage(KJob *job, const QString &message)
Called to display state information about a job.
Definition kjobtrackerinterface.cpp:78
virtual void unregisterJob(KJob *job)
Unregister a job from this tracker.
Definition kjobtrackerinterface.cpp:50
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:97
KJobTrackerInterface(QObject *parent=nullptr)
Creates a new KJobTrackerInterface.
Definition kjobtrackerinterface.cpp:24
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:70
~KJobTrackerInterface() override
Destroys a KJobTrackerInterface.
Unit
Describes the unit used in the methods that handle reporting the job progress info.
Definition kjob.h:87
void description(KJob *job, const QString &title, const QPair< QString, QString > &field1=QPair< QString, QString >(), const QPair< QString, QString > &field2=QPair< QString, QString >())
Emitted to display general description of this job.
void totalAmountChanged(KJob *job, KJob::Unit unit, qulonglong amount)
Emitted when we know the amount the job will have to process.
void warning(KJob *job, const QString &message)
Emitted to display a warning about this job.
void infoMessage(KJob *job, const QString &message)
Emitted to display state information about this job.
void processedAmountChanged(KJob *job, KJob::Unit unit, qulonglong amount)
Regularly emitted to show the progress of this job by giving the current amount.
void percentChanged(KJob *job, unsigned long percent)
Progress signal showing the overall progress of the job.
void speed(KJob *job, unsigned long speed)
Emitted to display information about the speed of this job.
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:49:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:49:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.