KDE Print porting - help needed

Albert Astals Cid aacid at kde.org
Sat Oct 13 13:41:23 BST 2007


A Dimecres 10 Octubre 2007, Alex Merry va escriure:
> 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.h
>tml
> http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/namespaceKdePrint.htm
>l [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.

Okular PDF printing won't work then because we need KPrinter::printFiles().

Albert

>
> Alex






More information about the kde-core-devel mailing list