Review Request: Add defaultFooValue calls to enabled in kconfig_compiler generated files

Albert Astals Cid aacid at kde.org
Fri Jun 26 20:27:49 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/881/
-----------------------------------------------------------

(Updated 2009-06-26 12:27:49.347048)


Review request for kdelibs.


Changes
-------

Implemented a way to get the default value, this is simpler and more powerful


Summary (updated)
-------

Adds a setDefaultFoo to the generated config file that resets the Foo value to its default when mutators are enabled. It is useful because otherwise getting the default value once the user has changed it is not possible. For example in kscd i would use it to reset the theme to the default value if the current theme is not accessible anymore (for example we dropped it)


Diffs (updated)
-----

  /trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp 986298 

Diff: http://reviewboard.kde.org/r/881/diff


Testing
-------

Compiled all kdegraphics and kdemultimedia config files


Thanks,

Albert





More information about the kde-core-devel mailing list