[file dialogs] Re: Redefining kdelibs and kdebase

Martin Konold martin.konold at erfrakon.de
Fri Sep 2 23:42:03 BST 2005


Am Freitag 02 September 2005 14:24 schrieb Christoph Cullmann:

Hi Christoph,

> On Wednesday 31 August 2005 13:39, Jarosław Staniek wrote:
> > 1. A bit harder case: a KDE app running under GNOME needs to perform a
> > *dynamic* switch to non-KDE file (and print?) dialog. What about trying
> > to dlopen a gnome library for this (it's in C, so it's pretty safe).

dlopen is pretty dangerious as it is in process.

> our special IO slave url's won't work any longer. Kate would be crippled
> while using gnome, and how to detect that in the app? Should I inform the
> user: oh, you use gnome, sorry, nothing works? Or should I open the
> kfiledialog if I need url's gnome doesn't support?

IMHO the solution is to use RuDI. Basically it allows you to specify which 
features you need and then the RuDI service provider tells you if it is 
available. In addition it allows you to customize the requested dialog. The 
later is especially required for printing as often the print dialog needs 
application specific extensions.

Yours,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker





More information about the kde-core-devel mailing list