20 #include "kextprinterimpl.h"
24 #include <kstandarddirs.h>
25 #include <tdeconfig.h>
26 #include <tdelocale.h>
28 KExtPrinterImpl::KExtPrinterImpl(TQObject *parent,
const char *name,
const TQStringList & )
29 : KPrinterImpl(parent,name)
33 KExtPrinterImpl::~KExtPrinterImpl()
37 void KExtPrinterImpl::preparePrinting(
KPrinter *printer)
42 bool KExtPrinterImpl::setupCommand(TQString& cmd,
KPrinter *printer)
44 cmd = printer->
option(
"kde-printcommand").stripWhiteSpace();
void setOption(const TQString &key, const TQString &value)
Adds or modifies an option in the KPrinter object.
void setErrorMessage(const TQString &msg)
Sets the last error message.
int numCopies() const
See TQPrinter::numCopies().
const TQString & option(const TQString &key) const
Starts the add printer wizard.
This class is the main interface to access the TDE print framework.