print dialog and kfiledialog
faure at kde.org
Fri Jan 4 12:14:39 GMT 2008
On Thursday 03 January 2008, Thomas Zander wrote:
> for Qt4.4 I revamped the Qt print dialog and among others put in some effort
> to make it easy to extend for KDE.
> One thing that is pretty trivial to do now is to override the file dialog that
> it shows.
> I added the code to kde locally, as supplied in the attached patch.
> The only problem I have with it is that it doesn't compile due to the kdeprint
> namespace living in kdeui, and the kfiledialog header file being in kio.
> And since kio depends on kdeui, I guess its not a good idea to just include /
> link since that will create a circular dependency. ;)
> Does someone have an idea on how to solve this?
By dlopening libkfile, like KFileDialog itself does.
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