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

David Faure faure at kde.org
Thu Feb 27 20:00:22 UTC 2014


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

(Updated Feb. 27, 2014, 8 p.m.)


Status
------

This change has been marked as submitted.


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/20140227/0d00ae8f/attachment.html>


More information about the Kde-frameworks-devel mailing list