20 #ifndef KMCUPSJOBMANAGER_H 21 #define KMCUPSJOBMANAGER_H 23 #include "kmjobmanager.h" 24 #include "ipprequest.h" 25 #include <tqstringlist.h> 29 class KMCupsJobManager :
public KMJobManager
34 KMCupsJobManager(TQObject *parent,
const char *name,
const TQStringList &);
35 virtual ~KMCupsJobManager();
38 TQValueList<KAction*> createPluginActions(KActionCollection*);
39 void validatePluginActions(KActionCollection*,
const TQPtrList<KMJob>&);
40 bool doPluginAction(
int,
const TQPtrList<KMJob>&);
43 bool jobIppReport(KMJob*);
44 bool changePriority(
const TQPtrList<KMJob>&,
bool);
45 bool editJobAttributes(KMJob*);
48 bool listJobs(
const TQString&, JobType,
int = 0);
49 bool sendCommandSystemJob(
const TQPtrList<KMJob>& jobs,
int action,
const TQString& arg = TQString::null);
50 void parseListAnswer(IppRequest& req, KMPrinter *pr);