KDE Printing API Request (Was: [REMINDER] KDE Dev Platform FROZEN)
David Faure
faure at kde.org
Sun Oct 7 22:24:54 BST 2007
On Saturday 06 October 2007, Alex Merry wrote:
> On Saturday 06 Oct 2007, Allen Winter wrote:
> > PS. KSSL and printing stuff still needs work. We can still accept
> > code that improves those areas at any time. :)
>
> Hopefully the last API bit for printing, bar removing libkdeprint:
>
> Is this patch OK to commit? It doesn't do anything interesting at the
> moment, but provides the API for getting a customised QPrintDialog.
>
> The methods return a QAbstractPrintDialog *, but in actual fact it's a
> QPrintDialog *. Does this cause problems for deleting (the caller
> takes ownership)?
No, it doesn't cause problems, since the destructor is virtual in all QObjects
[as it should be in any class with virtual methods, anyway].
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list