|
Public Types |
| enum | PrinterOperations {
PrinterEnabling = 0x01,
PrinterCreation = 0x02,
PrinterDefault = 0x04,
PrinterTesting = 0x08,
PrinterConfigure = 0x10,
PrinterRemoval = 0x20,
PrinterAll = 0xFF
} |
| enum | ServerOperations { ServerRestarting = 0x1,
ServerConfigure = 0x2,
ServerAll = 0xF
} |
Signals |
|
void | updatePossible (bool) |
Public Member Functions |
|
| KMManager (QObject *parent=0, const char *name=0) |
|
virtual | ~KMManager () |
|
QString | errorMsg () const |
|
void | setErrorMsg (const QString &s) |
|
bool | hasManagement () const |
|
virtual bool | createPrinter (KMPrinter *p) |
|
virtual bool | removePrinter (KMPrinter *p) |
|
virtual bool | enablePrinter (KMPrinter *p, bool on) |
|
virtual bool | startPrinter (KMPrinter *p, bool on) |
|
virtual bool | completePrinter (KMPrinter *p) |
|
virtual bool | completePrinterShort (KMPrinter *p) |
|
virtual bool | setDefaultPrinter (KMPrinter *p) |
|
virtual bool | testPrinter (KMPrinter *p) |
|
bool | upPrinter (KMPrinter *p, bool state) |
|
bool | modifyPrinter (KMPrinter *oldp, KMPrinter *newp) |
|
bool | removePrinter (const QString &name) |
|
bool | enablePrinter (const QString &name, bool state) |
|
bool | startPrinter (const QString &name, bool state) |
|
bool | completePrinter (const QString &name) |
|
bool | setDefaultPrinter (const QString &name) |
|
int | printerOperationMask () const |
|
int | addPrinterWizard (QWidget *parent=0) |
|
bool | createSpecialPrinter (KMPrinter *p) |
|
bool | removeSpecialPrinter (KMPrinter *p) |
|
KMPrinter * | findPrinter (const QString &name) |
|
QPtrList< KMPrinter > * | printerList (bool reload=true) |
|
QPtrList< KMPrinter > * | printerListComplete (bool reload=true) |
|
KMPrinter * | defaultPrinter () |
|
void | enableFilter (bool on) |
|
bool | isFilterEnabled () const |
|
virtual QString | driverDbCreationProgram () |
|
virtual QString | driverDirectory () |
|
virtual DrMain * | loadPrinterDriver (KMPrinter *p, bool config=false) |
|
virtual DrMain * | loadDbDriver (KMDBEntry *entry) |
|
virtual DrMain * | loadFileDriver (const QString &filename) |
|
DrMain * | loadDriver (KMPrinter *p, bool config=false) |
|
virtual bool | savePrinterDriver (KMPrinter *p, DrMain *d) |
|
virtual bool | validateDbDriver (KMDBEntry *entry) |
|
bool | invokeOptionsDialog (QWidget *parent=0) |
|
virtual QString | stateInformation () |
|
int | serverOperationMask () const |
|
virtual bool | restartServer () |
|
virtual bool | configureServer (QWidget *parent=0) |
|
virtual QStringList | detectLocalPrinters () |
|
virtual void | createPluginActions (KActionCollection *) |
|
virtual void | validatePluginActions (KActionCollection *, KMPrinter *) |
|
void | checkUpdatePossible () |
Static Public Member Functions |
|
static KMManager * | self () |
Protected Member Functions |
|
virtual void | listPrinters () |
|
void | addPrinter (KMPrinter *p) |
|
void | setHardDefault (KMPrinter *) |
|
void | setSoftDefault (KMPrinter *) |
|
KMPrinter * | softDefault () const |
|
KMPrinter * | hardDefault () const |
|
bool | uncompressFile (const QString &srcname, QString &destname) |
|
bool | notImplemented () |
|
void | setHasManagement (bool on) |
|
void | setPrinterOperationMask (int m) |
|
void | setServerOperationMask (int m) |
|
QString | testPage () |
|
void | discardAllPrinters (bool) |
|
void | setUpdatePossible (bool) |
|
virtual void | checkUpdatePossibleInternal () |
Protected Attributes |
|
QString | m_errormsg |
|
KMPrinterList | m_printers |
|
KMPrinterList | m_fprinters |
|
bool | m_hasmanagement |
|
int | m_printeroperationmask |
|
int | m_serveroperationmask |
|
KMSpecialManager * | m_specialmgr |
|
KMVirtualManager * | m_virtualmgr |
|
PrinterFilter * | m_printerfilter |
|
bool | m_updatepossible |
Friends |
|
class | KMVirtualManager |
|
class | KMSpecialManager |
|
class | KMFactory |