Review Request 115960: Add sharedConfig() accessor, to avoid manipulating a raw KConfig * as returned by config().

David Faure faure at kde.org
Sun Feb 23 11:15:47 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115960/
-----------------------------------------------------------

Review request for KDE Frameworks and Matthew John Dawson.


Repository: kconfig


Description
-------

Add sharedConfig() accessor, to avoid manipulating a raw KConfig * as returned by config().

This is useful when using kconfigxt and some other code to read from the same
config file (e.g. KColorScheme::contrastF(config)) - no need to call KSharedConfig::openConfig
twice, just grab the KSharedConfig from the generated class.


Diffs
-----

  src/core/kcoreconfigskeleton.h 9cd079941fa6f870a19bdbdb945aafe858b4c51a 
  src/core/kcoreconfigskeleton.cpp 98d9cdccec3cf3925bb68e2d0cff1b5a1276c56a 

Diff: https://git.reviewboard.kde.org/r/115960/diff/


Testing
-------

About to use it in kde-workspace.


Thanks,

David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140223/d2df8a94/attachment.html>


More information about the Kde-frameworks-devel mailing list