[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KCM Konsole
From: Waldo Bastian <bastian () kde ! org>
Date: 2001-04-20 22:22:31
[Download RAW message or body]
On Friday 20 April 2001 14:13, Carsten Pfeiffer wrote:
> On Freitag, 20. April 2001 19:50 Waldo Bastian wrote:
> > > or a separate library, which can be dlopened from konsole. I have some
> > > start of a KCMShell class, to load control modules from applications
> > > without having to system("kcmshell foo");
> >
> > Please don't use that. kapp->kdeinitExec() is your friend.
>
> Why wait for another process to get started? Using more resources. Why
> having to use DCOP to tell about config changes and reloading config files?
>
> Don't tell me about crash-safety, config-dialogs are simple and I've never
> had a single kcontrol crash for ages.
No, I mean don't use system("kcmshell foo"); I'm all for your KCMShell class,
but even without that class, you shouldn't use system(). Never. I mean it!
Cheers,
Waldo
--
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic