kget
#include <job.h>
Definition at line 35 of file job.h.
Describes different types of errors and how the scheduler should manage them.
| Enumerator |
|---|
| AutomaticRetry |
|
| ManualSolve |
|
| NotSolveable |
|
Definition at line 68 of file job.h.
The policy property describes how the scheduler should manage this job.
| Enumerator |
|---|
| Start |
|
| Stop |
The scheduler should start this job even if its queue isn't in a Running status.
|
| None |
The scheduler shouldn't never start this job, even if if its queue is in a Running status.
The scheduler should start this job depending on its queue status
|
Definition at line 57 of file job.h.
The status property describes the current job status.
| Enumerator |
|---|
| Running |
|
| Stopped |
The job is being executed.
|
| Aborted |
The job is stopped.
|
| Finished |
The job is stopped, but this also indicates that it stopped because an error occurred.
|
| FinishedKeepAlive |
The job exited from its Running state successfully.
|
| Moving |
The job exited from its Running state successfully but wants to be restarted by the scheduler.
|
Definition at line 42 of file job.h.
| virtual int Job::elapsedTime |
( |
| ) |
const |
|
pure virtual |
| Error Job::error |
( |
| ) |
const |
|
inline |
Definition at line 96 of file job.h.
| virtual bool Job::isStalled |
( |
| ) |
const |
|
pure virtual |
| virtual bool Job::isWorking |
( |
| ) |
const |
|
pure virtual |
Definition at line 86 of file job.h.
Definition at line 95 of file job.h.
| void Job::postJobEvent |
( |
Status |
| ) |
|
|
protected |
This one posts a job event to the scheduler.
| void Job::read |
( |
QDomNode * |
n | ) |
|
|
protected |
| virtual int Job::remainingTime |
( |
| ) |
const |
|
pure virtual |
| void Job::resolveError |
( |
int |
errorId | ) |
|
|
virtual |
| void Job::setError |
( |
const QString & |
text, |
|
|
const QPixmap & |
pixmap, |
|
|
ErrorType |
type = AutomaticRetry, |
|
|
int |
errorId = -1 |
|
) |
| |
| void Job::setPolicy |
( |
Policy |
jobPolicy | ) |
|
| void Job::setStartStatus |
( |
Status |
jobStatus | ) |
|
|
protected |
| void Job::setStatus |
( |
Status |
jobStatus | ) |
|
| virtual void Job::start |
( |
| ) |
|
|
pure virtual |
| Status Job::startStatus |
( |
| ) |
const |
|
inline |
Definition at line 94 of file job.h.
Definition at line 93 of file job.h.
| virtual void Job::stop |
( |
| ) |
|
|
pure virtual |
| void Job::write |
( |
QDomNode * |
n | ) |
|
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.