[Kde-print-devel] KDE Print porting - help needed

Alex Merry huntedhacker at tiscali.co.uk
Wed Oct 10 01:15:39 CEST 2007


We have all the API for printing in 4.0 in place.  What needs to happen 
now is that trunk needs porting.

Porting involves the following:
* using QPrinter instead of KPrinter
* using KdePrint::createPrintDialog() (in kdeui) to get a (customised) 
QPrintDialog, rather than using KPrinter::setup()
* using KPrintPreview (in kutils) for print preview, rather than 
KPrinter::setPreviewOnly(true)
* removing the dependency on libkdeprint

For more details, see the following:
http://doc.trolltech.com/4.3/printing.html
http://api.kde.org/4.0-api/kdelibs-apidocs/kutils/html/classKPrintPreview.html
http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/namespaceKdePrint.html
[note that these last two links won't be useful until the docs are 
regenerated]

Page to co-ordinate the porting, with list of apps needing porting:
http://techbase.kde.org/Projects/KDEPrint/KDE4#Porting

Anything that QPrinter, createPrintDialog and KPrintPreview do not 
support between is not supported in KDE 4.0.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org


More information about the Kde-print-devel mailing list