KDECore
kjob.cpp
Go to the documentation of this file.
void setCapabilities(Capabilities capabilities)
Sets the capabilities for this job.
Definition: kjob.cpp:186
void emitResult()
Utility function to emit the result signal, and suicide this job.
Definition: kjob.cpp:306
void setUiDelegate(KJobUiDelegate *delegate)
Attach a UI delegate to this job.
Definition: kjob.cpp:78
Definition: kjob.h:168
bool isAutoDelete() const
Returns whether this job automatically deletes itself once the job is finished.
Definition: kjob.cpp:358
void setPercent(unsigned long percentage)
Sets the overall progress of the job.
Definition: kjob.cpp:296
void ref()
Tells KGlobal about one more operations that should be finished before the application exits...
Definition: kglobal.cpp:320
Definition: kjob.h:259
Definition: kjob.h:257
void speed(KJob *job, unsigned long speed)
Emitted to display information about the speed of this job.
void deref()
Tells KGlobal that one operation such as those described in ref() just finished.
Definition: kglobal.cpp:326
void totalSize(KJob *job, qulonglong size)
Emitted when we know the size of this job (data size in bytes for transfers, number of entries for li...
void setProcessedAmount(Unit unit, qulonglong amount)
Sets the processed size.
Definition: kjob.cpp:262
KJobUiDelegate * uiDelegate() const
Retrieves the delegate attached to this job.
Definition: kjob.cpp:93
void processedSize(KJob *job, qulonglong size)
Regularly emitted to show the progress of this job (current data size in bytes for transfers...
bool isSuspended() const
Returns if the job was suspended with the suspend() call.
Definition: kjob.cpp:103
qulonglong totalAmount(Unit unit) const
Returns the total amount of a given unit for this job.
Definition: kjob.cpp:240
Definition: kjob_p.h:35
void result(KJob *job)
Emitted when the job is finished (except when killed with KJob::Quietly).
void emitPercent(qulonglong processedAmount, qulonglong totalAmount)
Utility function for inherited jobs.
Definition: kjob.cpp:324
void setAutoDelete(bool autodelete)
set the auto-delete property of the job.
Definition: kjob.cpp:364
qulonglong processedAmount(Unit unit) const
Returns the processed amount of a given unit for this job.
Definition: kjob.cpp:235
QString errorText() const
Returns the error text if there has been an error.
Definition: kjob.cpp:225
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.