[Kde-print-devel] Open Printing Common Print Dialog

Hal V. Engel hvengel at astound.net
Wed Jun 9 17:51:08 CEST 2010


On Monday 07 June 2010 05:11:50 pm John Layt wrote:
> > It appears to be divided into a shared part that handles the basic D-Bus
> > stuff and a part that implements the desktop specific parts (Qt and
> > GTK).  The dialogs do have lots of CUPS PPD related code since the
> > contents of the dialog depend on what is in the PPD file.   I have just
> > started looking at the code so I don't know for sure yet how it is
> > actually structured.  Also I am not sure that the DBus stuff in the Qt
> > dialog is actually setup to take full advantage of the related Qt
> > classes.
> 
> If all the CUPS communication code is OPD implemented, that would be a
>  good  thing for a KDE based dialog, as all the Qt CUPS interface classes
>  are private and couldn't be used.
> 
> Using QtDbus would be a good thing.
> 


Looking that the code it does use QtDBus for everything other than passing the 
PDF files (both the preview PDF and the PDF for the printer) which are passed 
via sockets.  The app requests the socket addresses for these using the DBus 
interface. 


More information about the Kde-print-devel mailing list