even more KProcess (Re: Ouch?)

Marc Mutz Marc.Mutz at uni-bielefeld.de
Fri Feb 20 23:40:24 GMT 2004


On Friday 20 February 2004 12:02, Waldo Bastian wrote:
> On Fri February 20 2004 11:15, Marc Mutz wrote:
> > I'd suggest introducing _more_ subclasses to let the base API stand
> > out more.
>
> The problem with subclassing is that you can only use one subclass at
> a time, e.g. if you want to use the functionality offered by KProcIO
> and KShellProcess you have a problem. That's why the KShellProcess
> functionality has been folded back into KProcess. The same for PTY
> support.
<snip>

On Friday 20 February 2004 11:15, Marc Mutz wrote:
> I understand that combining the funtionality of these subclasses so
> they can be used together is the driving force here, but creating a
> monster API a la KListView should be avoided. Perhaps by using an
> aspect-oriented approach. Carsten? Or by classic Decorators.

:)

Marc

-- 
I am Bush of USA. You will be pacified. Resistance is futile.




More information about the kde-core-devel mailing list