• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDEPrint

KMCupsManager Class Reference

#include <kmcupsmanager.h>

Inheritance diagram for KMCupsManager:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 32 of file kmcupsmanager.h.


Public Slots

void exportDriver ()
void printerIppReport ()

Public Member Functions

bool completePrinter (KMPrinter *p)
bool completePrinterShort (KMPrinter *p)
bool configureServer (QWidget *parent=0)
void createPluginActions (KActionCollection *)
bool createPrinter (KMPrinter *p)
QStringList detectLocalPrinters ()
QString driverDbCreationProgram ()
QString driverDirectory ()
bool enablePrinter (KMPrinter *p, bool state)
 KMCupsManager (QObject *parent, const QStringList &)
DrMain * loadFileDriver (const QString &filename)
DrMain * loadPrinterDriver (KMPrinter *p, bool config=false)
bool removePrinter (KMPrinter *p)
bool restartServer ()
bool savePrinterDriver (KMPrinter *p, DrMain *d)
bool setDefaultPrinter (KMPrinter *p)
bool startPrinter (KMPrinter *p, bool state)
QString stateInformation ()
bool testPrinter (KMPrinter *p)
void validatePluginActions (KActionCollection *, KMPrinter *)
virtual ~KMCupsManager ()

Protected Slots

void hostPingFailedSlot ()
void hostPingSlot ()
void slotAsyncConnect ()
void slotConnectionFailed (QAbstractSocket::SocketError)
void slotConnectionSuccess ()

Protected Member Functions

void checkUpdatePossibleInternal ()
QString cupsInstallDir ()
void ippReport (IppRequest &, int, const QString &)
void listPrinters ()
KLibrary::void_function_ptr loadCupsdConfFunction (const char *)
DrMain * loadDriverFile (const QString &filename)
DrMain * loadMaticDriver (const QString &drname)
void loadServerPrinters ()
void processRequest (IppRequest *)
void reportIppError (IppRequest *)
void saveDriverFile (DrMain *driver, const QString &filename)
bool setPrinterState (KMPrinter *p, int st)
QString testPage ()
void unloadCupsdConf ()

Constructor & Destructor Documentation

KMCupsManager::KMCupsManager ( QObject *  parent,
const QStringList &   
)

Definition at line 71 of file kmcupsmanager.cpp.

KMCupsManager::~KMCupsManager (  )  [virtual]

Definition at line 91 of file kmcupsmanager.cpp.


Member Function Documentation

void KMCupsManager::checkUpdatePossibleInternal (  )  [protected]

Definition at line 808 of file kmcupsmanager.cpp.

bool KMCupsManager::completePrinter ( KMPrinter *  p  ) 

Definition at line 220 of file kmcupsmanager.cpp.

bool KMCupsManager::completePrinterShort ( KMPrinter *  p  ) 

No specific treatment required as the device is a normal QString instead of a KUrl

Definition at line 250 of file kmcupsmanager.cpp.

bool KMCupsManager::configureServer ( QWidget *  parent = 0  ) 

Definition at line 689 of file kmcupsmanager.cpp.

void KMCupsManager::createPluginActions ( KActionCollection *  coll  ) 

Definition at line 730 of file kmcupsmanager.cpp.

bool KMCupsManager::createPrinter ( KMPrinter *  p  ) 

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.

Definition at line 124 of file kmcupsmanager.cpp.

QString KMCupsManager::cupsInstallDir (  )  [protected]

Definition at line 112 of file kmcupsmanager.cpp.

QStringList KMCupsManager::detectLocalPrinters (  ) 

Definition at line 703 of file kmcupsmanager.cpp.

QString KMCupsManager::driverDbCreationProgram (  ) 

Definition at line 96 of file kmcupsmanager.cpp.

QString KMCupsManager::driverDirectory (  ) 

Definition at line 101 of file kmcupsmanager.cpp.

bool KMCupsManager::enablePrinter ( KMPrinter *  p,
bool  state 
)

Definition at line 191 of file kmcupsmanager.cpp.

void KMCupsManager::exportDriver (  )  [slot]

Definition at line 753 of file kmcupsmanager.cpp.

void KMCupsManager::hostPingFailedSlot (  )  [protected, slot]

Definition at line 889 of file kmcupsmanager.cpp.

void KMCupsManager::hostPingSlot (  )  [protected, slot]

Definition at line 883 of file kmcupsmanager.cpp.

void KMCupsManager::ippReport ( IppRequest &  req,
int  group,
const QString &  caption 
) [protected]

Definition at line 791 of file kmcupsmanager.cpp.

void KMCupsManager::listPrinters (  )  [protected]

Definition at line 361 of file kmcupsmanager.cpp.

KLibrary::void_function_ptr KMCupsManager::loadCupsdConfFunction ( const char *  name  )  [protected]

Definition at line 653 of file kmcupsmanager.cpp.

DrMain * KMCupsManager::loadDriverFile ( const QString &  filename  )  [protected]

Definition at line 529 of file kmcupsmanager.cpp.

DrMain * KMCupsManager::loadFileDriver ( const QString &  filename  ) 

Definition at line 488 of file kmcupsmanager.cpp.

DrMain * KMCupsManager::loadMaticDriver ( const QString &  drname  )  [protected]

Definition at line 498 of file kmcupsmanager.cpp.

DrMain * KMCupsManager::loadPrinterDriver ( KMPrinter *  p,
bool  config = false 
)

Definition at line 459 of file kmcupsmanager.cpp.

void KMCupsManager::loadServerPrinters (  )  [protected]

Definition at line 366 of file kmcupsmanager.cpp.

void KMCupsManager::printerIppReport (  )  [slot]

Definition at line 766 of file kmcupsmanager.cpp.

void KMCupsManager::processRequest ( IppRequest *  req  )  [protected]

Definition at line 418 of file kmcupsmanager.cpp.

bool KMCupsManager::removePrinter ( KMPrinter *  p  ) 

Definition at line 185 of file kmcupsmanager.cpp.

void KMCupsManager::reportIppError ( IppRequest *  req  )  [protected]

Definition at line 119 of file kmcupsmanager.cpp.

bool KMCupsManager::restartServer (  ) 

Definition at line 676 of file kmcupsmanager.cpp.

void KMCupsManager::saveDriverFile ( DrMain *  driver,
const QString &  filename 
) [protected]

Definition at line 544 of file kmcupsmanager.cpp.

bool KMCupsManager::savePrinterDriver ( KMPrinter *  p,
DrMain *  d 
)

Definition at line 628 of file kmcupsmanager.cpp.

bool KMCupsManager::setDefaultPrinter ( KMPrinter *  p  ) 

Definition at line 201 of file kmcupsmanager.cpp.

bool KMCupsManager::setPrinterState ( KMPrinter *  p,
int  st 
) [protected]

Definition at line 206 of file kmcupsmanager.cpp.

void KMCupsManager::slotAsyncConnect (  )  [protected, slot]

Definition at line 837 of file kmcupsmanager.cpp.

void KMCupsManager::slotConnectionFailed ( QAbstractSocket::SocketError  errcode  )  [protected, slot]

Definition at line 855 of file kmcupsmanager.cpp.

void KMCupsManager::slotConnectionSuccess (  )  [protected, slot]

Definition at line 815 of file kmcupsmanager.cpp.

bool KMCupsManager::startPrinter ( KMPrinter *  p,
bool  state 
)

Definition at line 196 of file kmcupsmanager.cpp.

QString KMCupsManager::stateInformation (  ) 

Definition at line 796 of file kmcupsmanager.cpp.

QString KMCupsManager::testPage (  )  [protected]

Definition at line 803 of file kmcupsmanager.cpp.

bool KMCupsManager::testPrinter ( KMPrinter *  p  ) 

Definition at line 334 of file kmcupsmanager.cpp.

void KMCupsManager::unloadCupsdConf (  )  [protected]

Definition at line 668 of file kmcupsmanager.cpp.

void KMCupsManager::validatePluginActions ( KActionCollection *  coll,
KMPrinter *  pr 
)

Definition at line 745 of file kmcupsmanager.cpp.


The documentation for this class was generated from the following files:
  • kmcupsmanager.h
  • kmcupsmanager.cpp

KDEPrint

Skip menu "KDEPrint"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  •   KDEPrint
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal