kdebase/kcontrol

Matthias Kretz kretz at kde.org
Thu Sep 18 13:04:15 BST 2003


On Thursday September 18 2003 13:48, Helio Chissini de Castro wrote:
> On Thursday 18 September 2003 07:37, Matthias Kretz wrote:
> > I'll try to explain once more what's causing this:
> > KControl creates the KCM and only after that it can connect to the
> > changed(bool) signal. If a KCM is broken and calls setChanged(true) in
> > the ctor the changed(true) signal will not be emitted again until
> > setChanged(false) and setChanged(true) is called. To fix this all classes
> > using KCModule need to check for KCModule::changed() after the KCM ctor
> > was called and enable/disable buttons accordingly.
> >
> > Please note that KCMs still emitting the changed signal directly will
> > behave exactly the same as before. I did a s/emit changed/setChanged/ in
> > kdebase/ kcontrol, that's why they all broke in the same way.
>
> Well, this explained what's happened to kcm sound panel. They refuse to
> start artsd server, can just stop the already running.

No, I cannot see how my changes could have done that. And it works just 
perfectly for me.

> We must fill bugs for all kcm not working ? Think not, if the problem are
> the same and developers can use different approaches. I think that need a
> common solution for all

If you have a KCM that does not enable the Apply button even though you 
changed something let me know.

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)
http://Vir.homeip.net/
MatthiasKretz at gmx.net, kretz at kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030918/a5fe4c19/attachment.sig>


More information about the kde-core-devel mailing list