KMCupsManager Class Reference
Inheritance diagram for KMCupsManager:
[legend]Collaboration diagram for KMCupsManager:
[legend]List of all members.
|
Public Slots |
void | exportDriver () |
void | printerIppReport () |
Public Member Functions |
| KMCupsManager (QObject *parent, const char *name, const QStringList &) |
virtual | ~KMCupsManager () |
bool | createPrinter (KMPrinter *p) |
bool | removePrinter (KMPrinter *p) |
bool | enablePrinter (KMPrinter *p, bool state) |
bool | startPrinter (KMPrinter *p, bool state) |
bool | completePrinter (KMPrinter *p) |
bool | completePrinterShort (KMPrinter *p) |
bool | setDefaultPrinter (KMPrinter *p) |
bool | testPrinter (KMPrinter *p) |
QString | driverDbCreationProgram () |
QString | driverDirectory () |
DrMain * | loadPrinterDriver (KMPrinter *p, bool config=false) |
DrMain * | loadFileDriver (const QString &filename) |
bool | savePrinterDriver (KMPrinter *p, DrMain *d) |
bool | restartServer () |
bool | configureServer (QWidget *parent=0) |
QStringList | detectLocalPrinters () |
void | createPluginActions (KActionCollection *) |
void | validatePluginActions (KActionCollection *, KMPrinter *) |
QString | stateInformation () |
Protected Slots |
void | slotConnectionFailed (int) |
void | slotConnectionSuccess () |
void | slotAsyncConnect () |
void | hostPingSlot () |
void | hostPingFailedSlot () |
Protected Member Functions |
void | listPrinters () |
void | loadServerPrinters () |
void | processRequest (IppRequest *) |
bool | setPrinterState (KMPrinter *p, int st) |
DrMain * | loadDriverFile (const QString &filename) |
DrMain * | loadMaticDriver (const QString &drname) |
void | saveDriverFile (DrMain *driver, const QString &filename) |
void | reportIppError (IppRequest *) |
void * | loadCupsdConfFunction (const char *) |
void | unloadCupsdConf () |
QString | cupsInstallDir () |
void | ippReport (IppRequest &, int, const QString &) |
void | checkUpdatePossibleInternal () |
Friends |
class | KMWIppPrinter |
class | KMCupsJobManager |
Detailed Description
Definition at line 30 of file kmcupsmanager.h.
Member Function Documentation
bool KMCupsManager::createPrinter |
( |
KMPrinter * |
p |
) |
[virtual] |
|
|
As now the device is a QString instead of KURL, special encoding required for SMB is not needed anymore. Use a unique mechanism for all backends.
Reimplemented from KMManager.
Definition at line 123 of file kmcupsmanager.cpp.
References IppRequest::addInteger(), IppRequest::addName(), IppRequest::addText(), IppRequest::addURI(), KMPrinter::description(), KMPrinter::device(), IppRequest::doRequest(), KMPrinter::driver(), KMManager::findPrinter(), QString::fromLatin1(), QString::fromLocal8Bit(), KMPrinter::isClass(), QString::isEmpty(), KMPrinter::location(), KMPrinter::members(), KMPrinter::option(), KMPrinter::printerName(), reportIppError(), savePrinterDriver(), CupsInfos::self(), IppRequest::setOperation(), KMPrinter::setUri(), QStringList::split(), QString::toInt(), and KMManager::upPrinter(). |
bool KMCupsManager::completePrinterShort |
( |
KMPrinter * |
p |
) |
[virtual] |
|
|
No specific treatment required as the device is a normal QString instead of a KURL
Reimplemented from KMManager.
Definition at line 258 of file kmcupsmanager.cpp.
References IppRequest::addKeyword(), IppRequest::addURI(), IppRequest::doRequest(), QString::fromLatin1(), IppRequest::integer(), KMPrinter::isClass(), IppRequest::name(), QString::number(), KMPrinter::removeOption(), reportIppError(), KMPrinter::setDescription(), KMPrinter::setDevice(), KMPrinter::setDriverInfo(), KMPrinter::setMembers(), IppRequest::setOperation(), KMPrinter::setOption(), IppRequest::text(), and IppRequest::uri().
Referenced by completePrinter(). |
The documentation for this class was generated from the following files:
This file is part of the documentation for kdeprint Library Version 3.4.3.