kmobiletools
KMobileTools::JobXP Class Reference
#include <jobxp.h>
Inheritance diagram for KMobileTools::JobXP:

Detailed Description
This class describes a job that should be used by engines as base class for all jobs they need to perform (e.g.fetching of address book or sms )
If you want allow your job to be aborted, implement "void requestAbort()" as public slot.
Definition at line 40 of file jobxp.h.
Public Types | |
| enum | Type { fetchAddressbook = 0, fetchInformation = 1, fetchShortMessages = 2, fetchSMSFolders = 3, fetchSMSCenter = 4, fetchStatusInformation = 5, addAddressee = 100, editAddressee = 101, removeAddressee = 102, storeSMS = 103, sendSMS = 104, removeSMS = 105, addSMSFolder = 106, editSMSFolder = 107, removeSMSFolder = 108, custom = 999 } |
Signals | |
| void | progressChanged (int percent) |
Public Member Functions | |
| bool | canBeAborted () const |
| JobXP::Type | jobType () const |
| JobXP (JobXP::Type jobType, QObject *parent=0) | |
| int | progress () const |
| ~JobXP () | |
Protected Member Functions | |
| void | setProgress (int percent) |
Member Enumeration Documentation
Constructor & Destructor Documentation
| KMobileTools::JobXP::JobXP | ( | JobXP::Type | jobType, | |
| QObject * | parent = 0 | |||
| ) |
Member Function Documentation
| bool KMobileTools::JobXP::canBeAborted | ( | ) | const |
| JobXP::Type KMobileTools::JobXP::jobType | ( | ) | const |
| int KMobileTools::JobXP::progress | ( | ) | const |
| void KMobileTools::JobXP::progressChanged | ( | int | percent | ) | [signal] |
This signal is emitted when the job's progress has changed.
| void KMobileTools::JobXP::setProgress | ( | int | percent | ) | [protected] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference