KMJobManager Class Reference
Inheritance diagram for KMJobManager:

Detailed Description
Definition at line 46 of file kmjobmanager.h.
Public Types | |
ActiveJobs = 0 | |
CompletedJobs = 1 | |
enum | JobType { ActiveJobs = 0, CompletedJobs = 1 } |
Public Member Functions | |
KMJobManager (QObject *parent=0, const char *name=0) | |
virtual | ~KMJobManager () |
void | addPrinter (const QString &pr, JobType type=ActiveJobs, bool isSpecial=false) |
void | removePrinter (const QString &pr, JobType type=ActiveJobs) |
void | clearFilter () |
QDict< JobFilter > * | filter () |
int | limit () |
void | setLimit (int val) |
KMJob * | findJob (const QString &uri) |
bool | sendCommand (const QString &uri, int action, const QString &arg=QString::null) |
bool | sendCommand (const QPtrList< KMJob > &jobs, int action, const QString &arg=QString::null) |
const QPtrList< KMJob > & | jobList (bool reload=true) |
void | addJob (KMJob *) |
KMThreadJob * | threadJob () |
virtual int | actions () |
virtual QValueList< KAction * > | createPluginActions (KActionCollection *) |
virtual void | validatePluginActions (KActionCollection *, const QPtrList< KMJob > &) |
virtual bool | doPluginAction (int, const QPtrList< KMJob > &) |
Static Public Member Functions | |
static KMJobManager * | self () |
Protected Member Functions | |
void | discardAllJobs () |
void | removeDiscardedJobs () |
virtual bool | listJobs (const QString &prname, JobType type, int limit=0) |
virtual bool | sendCommandSystemJob (const QPtrList< KMJob > &jobs, int action, const QString &arg=QString::null) |
bool | sendCommandThreadJob (const QPtrList< KMJob > &jobs, int action, const QString &arg=QString::null) |
Protected Attributes | |
QPtrList< KMJob > | m_jobs |
QDict< JobFilter > | m_filter |
KMThreadJob * | m_threadjob |
Classes | |
struct | JobFilter |
The documentation for this class was generated from the following files: