even more KProcess (Re: Ouch?)

Waldo Bastian bastian at kde.org
Sat Feb 21 00:02:24 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat February 21 2004 00:40, Marc Mutz wrote:
> 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.

Can you give an example of how that would look like? E.g. we have now:
	
	void setUseShell(bool useShell, const char *shell = 0);

for shell support. And:

	void setUsePty(Communication comm, bool addUtmp);
	KPty *pty() const;

for pty support. How would that look like with these other approaches?

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFANqAQN4pvrENfboIRAhC9AJ0Vogx/uCjLJ4Ua/kQ8TbV/2yJZDQCgiUn9
un4OrpDbq9jfwhEeR2Y/cqA=
=SPDB
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list