[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Another lib splitting problem
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-03-27 14:08:50
[Download RAW message or body]

David Faure wrote:
> 
> I would like to use KURLRequester in KIO::OpenWithDlg, in order to
> add a browse button to that open-with dialog.
> BUT OpenWithDlg is in kio, and has to be there (used by KRun), and
> KURLRequester is in kfile.... Ouch, another lib splitting problem...
> 
> Not many solutions at hand...
> - Making kfile part of kio (doesn't mean moving sources btw, we can do
> like we do with libqk part of kdecore)
> - Talking with DCOP to a server (e.g. kdesktop) - I don't quite like that,
> inter-apps dependencies. People can use konqueror without kdesktop.
> - Just dropping the idea.
> 
> I favor the first idea, even if it means once again changing the lib structure...
> In fact that would mean having libkio and libksycoca, the latter containing
> kfile/'s code, since the openwith dialog is in libksycoca.
> 
> Another idea would be moving openwith dialog out of kio, and letting
> the developer that uses KRun connect a signal from KRun to a slot that
> calls the open-with dialog (in kfile for instance). Some code duplication,
> but another way to solve the problem.
I think, I would go with the last one. It's a minor code duplication.

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic