PyKDE - Python Bindings for KDE
class KMManager
Table of contents
Modules
tdeprint Classes
All Classes
Module
tdeprint
Class
KMManager
Inherits
TQObject
enums
PrinterOperations
= {PrinterEnabling, PrinterCreation, PrinterDefault, PrinterTesting, PrinterConfigure, PrinterRemoval, PrinterAll }
ServerOperations
= {ServerRestarting, ServerConfigure, ServerAll }
methods
KMManager
(parent = 0, name = 0)
returns
a KMManager instance
Argument
Type
Default
parent
TQObject
0
name
char
0
addPrinter
(p)
returns
nothing
Argument
Type
Default
p
KMPrinter
addPrinterWizard
(parent = 0)
returns
(int)
Argument
Type
Default
parent
TQWidget
0
checkUpdatePossible
()
returns
nothing
In versions KDE 3.1.0 and above only
checkUpdatePossibleInternal
()
returns
nothing
In versions KDE 3.1.0 and above only
completePrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
completePrinter
(name)
returns
(bool)
Argument
Type
Default
name
TQString
completePrinterShort
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
configureServer
(parent = 0)
returns
(bool)
Argument
Type
Default
parent
TQWidget
0
createPluginActions
(a0)
returns
nothing
Argument
Type
Default
a0
KActionCollection
createPrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
createSpecialPrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
defaultPrinter
()
returns
(KMPrinter)
detectLocalPrinters
()
returns
(TQStringList)
discardAllPrinters
(a0)
returns
nothing
Argument
Type
Default
a0
bool
driverDbCreationProgram
()
returns
(TQString)
driverDirectory
()
returns
(TQString)
enableFilter
(on)
returns
nothing
Argument
Type
Default
on
bool
enablePrinter
(p, on)
returns
(bool)
Argument
Type
Default
p
KMPrinter
on
bool
enablePrinter
(name, state)
returns
(bool)
Argument
Type
Default
name
TQString
state
bool
errorMsg
()
returns
(TQString)
findPrinter
(name)
returns
(KMPrinter)
Argument
Type
Default
name
TQString
hardDefault
()
returns
(KMPrinter)
hasManagement
()
returns
(bool)
invokeOptionsDialog
(parent = 0)
returns
(bool)
Argument
Type
Default
parent
TQWidget
0
isFilterEnabled
()
returns
(bool)
listPrinters
()
returns
nothing
loadDbDriver
(entry)
Not Implemented
loadDriver
(p, config = 0)
Not Implemented
loadFileDriver
(filename)
Not Implemented
loadPrinterDriver
(p, config = 0)
Not Implemented
modifyPrinter
(oldp, newp)
returns
(bool)
Argument
Type
Default
oldp
KMPrinter
newp
KMPrinter
notImplemented
()
returns
(bool)
printerList
(reload = 1)
returns
(TQPtrList
)
Argument
Type
Default
reload
bool
1
printerListComplete
(reload = 1)
returns
(TQPtrList
)
Argument
Type
Default
reload
bool
1
printerOperationMask
()
returns
(int)
removePrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
removePrinter
(name)
returns
(bool)
Argument
Type
Default
name
TQString
removeSpecialPrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
restartServer
()
returns
(bool)
savePrinterDriver
(p, d)
Not Implemented
self
()
returns
(KMManager)
static
serverOperationMask
()
returns
(int)
setDefaultPrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
setDefaultPrinter
(name)
returns
(bool)
Argument
Type
Default
name
TQString
setErrorMsg
(s)
returns
nothing
Argument
Type
Default
s
TQString
setHardDefault
(a0)
returns
nothing
Argument
Type
Default
a0
KMPrinter
setHasManagement
(on)
returns
nothing
Argument
Type
Default
on
bool
setPrinterOperationMask
(m)
returns
nothing
Argument
Type
Default
m
int
setServerOperationMask
(m)
returns
nothing
Argument
Type
Default
m
int
setSoftDefault
(a0)
returns
nothing
Argument
Type
Default
a0
KMPrinter
setUpdatePossible
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
bool
softDefault
()
returns
(KMPrinter)
startPrinter
(p, on)
returns
(bool)
Argument
Type
Default
p
KMPrinter
on
bool
startPrinter
(name, state)
returns
(bool)
Argument
Type
Default
name
TQString
state
bool
stateInformation
()
returns
(TQString)
In versions KDE 3.1.0 and above only
testPage
()
returns
(TQString)
testPrinter
(p)
returns
(bool)
Argument
Type
Default
p
KMPrinter
uncompressFile
(srcname, destname)
returns
(bool)
Argument
Type
Default
srcname
TQString
destname
TQString
upPrinter
(p, state)
returns
(bool)
Argument
Type
Default
p
KMPrinter
state
bool
updatePossible
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
bool
validateDbDriver
(entry)
Not Implemented
validatePluginActions
(a0, a1)
returns
nothing
Argument
Type
Default
a0
KActionCollection
a1
KMPrinter