KMJobManager Class Reference

Inheritance diagram for KMJobManager:

QObject KMCupsJobManager KMLprJobManager List of all members.

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)
KMJobfindJob (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 *)
KMThreadJobthreadJob ()
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 KMJobManagerself ()

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< KMJobm_jobs
QDict< JobFilterm_filter
KMThreadJobm_threadjob

Classes

struct  JobFilter

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys