KUiServerJobTracker Class Reference
The interface to implement to track the progresses of a job. More...
#include <kuiserverjobtracker.h>
Public Member Functions | |
| KUiServerJobTracker (QObject *parent=0) | |
| virtual | ~KUiServerJobTracker () |
| virtual void | registerJob (KJob *job) |
| virtual void | unregisterJob (KJob *job) |
Protected Slots | |
| virtual void | description (KJob *job, const QString &title, const QPair< QString, QString > &field1, const QPair< QString, QString > &field2) |
| virtual void | finished (KJob *job) |
| virtual void | infoMessage (KJob *job, const QString &plain, const QString &rich) |
| virtual void | percent (KJob *job, unsigned long percent) |
| virtual void | processedAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
| virtual void | resumed (KJob *job) |
| virtual void | speed (KJob *job, unsigned long value) |
| virtual void | suspended (KJob *job) |
| virtual void | totalAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
Detailed Description
The interface to implement to track the progresses of a job.
Definition at line 31 of file kuiserverjobtracker.h.
Constructor & Destructor Documentation
| KUiServerJobTracker::KUiServerJobTracker | ( | QObject * | parent = 0 | ) |
Creates a new KJobTrackerInterface.
- Parameters:
-
parent the parent object
Definition at line 63 of file kuiserverjobtracker.cpp.
| KUiServerJobTracker::~KUiServerJobTracker | ( | ) | [virtual] |
Destroys a KJobTrackerInterface.
Definition at line 69 of file kuiserverjobtracker.cpp.
Member Function Documentation
| void KUiServerJobTracker::description | ( | KJob * | job, |
| const QString & | title, | ||
| const QPair< QString, QString > & | field1, | ||
| const QPair< QString, QString > & | field2 | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 195 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::finished | ( | KJob * | job | ) | [protected, virtual, slot] |
The following slots are inherited from KJobTrackerInterface.
Reimplemented from KJobTrackerInterface.
Definition at line 158 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::infoMessage | ( | KJob * | job, |
| const QString & | plain, | ||
| const QString & | rich | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 220 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::percent | ( | KJob * | job, |
| unsigned long | percent | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 279 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::processedAmount | ( | KJob * | job, |
| KJob::Unit | unit, | ||
| qulonglong | amount | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 256 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::registerJob | ( | KJob * | job | ) | [virtual] |
Register a new job in this tracker.
- Parameters:
-
job the job to register
Reimplemented from KJobTrackerInterface.
Definition at line 79 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::resumed | ( | KJob * | job | ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 184 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::speed | ( | KJob * | job, |
| unsigned long | value | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 290 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::suspended | ( | KJob * | job | ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 173 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::totalAmount | ( | KJob * | job, |
| KJob::Unit | unit, | ||
| qulonglong | amount | ||
| ) | [protected, virtual, slot] |
Reimplemented from KJobTrackerInterface.
Definition at line 233 of file kuiserverjobtracker.cpp.
| void KUiServerJobTracker::unregisterJob | ( | KJob * | job | ) | [virtual] |
Unregister a job from this tracker.
- Parameters:
-
job the job to unregister
Reimplemented from KJobTrackerInterface.
Definition at line 139 of file kuiserverjobtracker.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference