23 #include "lprhandler.h"
27 class ApsHandler :
public LprHandler
30 ApsHandler(KMManager*);
32 bool validate(PrintcapEntry*);
33 KMPrinter* createPrinter(PrintcapEntry*);
34 bool completePrinter(KMPrinter*, PrintcapEntry*,
bool =
true);
35 DrMain* loadDriver(KMPrinter*, PrintcapEntry*,
bool =
false);
36 DrMain* loadDbDriver(
const TQString&);
38 PrintcapEntry* createEntry(KMPrinter*);
39 bool savePrinterDriver(KMPrinter*, PrintcapEntry*, DrMain*,
bool* = 0);
40 bool removePrinter(KMPrinter*, PrintcapEntry*);
44 TQString driverDirInternal();
47 TQMap<TQString,TQString> loadResources(PrintcapEntry*);
48 TQMap<TQString,TQString> loadVarFile(
const TQString&);
49 TQString sysconfDir();
51 DrMain* loadApsDriver(
bool =
false);
This class is the main interface to access the TDE print framework.