kprinter & qprinter

Boudewijn Rempt boud at
Mon Jan 8 20:22:33 GMT 2007

On #koffice, we were discussing printing and one topic that came up was "why 
does KPrinter wrap QPrinter instead of inheriting it?" The wrapper hides some 
stuff, notably the setting of the outputformat (things like  
printer.setOutputFormat(QPrinter::PdfFormat) seem impossible at the moment).

If there are no deep architectural reasons for wrapping instead of inheriting, 
would it be okay if I tried to change that?

Boudewijn Rempt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list