fix my KCModule issues once and for all

Waldo Bastian bastian at kde.org
Fri Sep 26 11:40:25 BST 2003


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

On Thursday 25 September 2003 19:32, Matthias Kretz wrote:
> Well, after I commit my patch the "emit changed" is done automatically -
> KControl does it itself and KCMultiDialog uses KCModuleDecorator to do it.
> So after a load() or save() "emit changed( false )" is called. I don't call
> "emit changed( true )" after defaults(), because it could very well be that
> the current settings are the defaults - so pressing the button didn't
> change any settings. I'm not sure if it's a good thing to do usability wise
> since the user might expect the apply button to be enabled after clicking
> "Defaults" (so this is up for discussion).

With KAutoConfig style management of widget, the widget manager will be able 
to tell if there was actually a change in such situation or not.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/dBedN4pvrENfboIRAvzcAKCe/qNeB8YPL/XI65zdxA1+oTu8uQCfeDUl
QfPnrTHACK2cya2mONOJKbQ=
=CqnX
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list