20 #ifndef LPRNGTOOLHANDLER_H
21 #define LPRNGTOOLHANDLER_H
23 #include "lprhandler.h"
25 #include <tqstringlist.h>
28 class LPRngToolHandler :
public LprHandler
31 LPRngToolHandler(KMManager *mgr = 0);
33 bool validate(PrintcapEntry*);
34 bool completePrinter(KMPrinter*, PrintcapEntry*,
bool =
true);
35 DrMain* loadDriver(KMPrinter*, PrintcapEntry*,
bool =
false);
36 DrMain* loadDbDriver(
const TQString&);
37 PrintcapEntry* createEntry(KMPrinter*);
38 bool savePrinterDriver(KMPrinter*, PrintcapEntry*, DrMain*,
bool* = 0);
42 TQMap<TQString,TQString> parseXferOptions(
const TQString&);
43 void loadAuthFile(
const TQString&, TQString&, TQString&);
44 TQValueList< TQPair<TQString,TQStringList> > loadChoiceDict(
const TQString&);
45 TQMap<TQString,TQString> parseZOptions(
const TQString&);
47 TQString driverDirInternal();
51 TQValueList< TQPair<TQString,TQStringList> > m_dict;
This class is the main interface to access the TDE print framework.