D20039: [KConfig] Add Notify capability for revertToDefault

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Mar 25 11:46:02 GMT 2019


broulik created this revision.
broulik added reviewers: Frameworks, dfaure, davidedmundson.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
broulik requested review of this revision.

REVISION SUMMARY
  This enables `KConfigWatcher`

TEST PLAN
  In preparation to make KConfigXt able to notify, it calls `revertToDefault` rather than `writeEntry` when you set a config key to its default value
  
  Comes with a unittest, all tests still pass, successfully used it and had my application notice a revert to default

REPOSITORY
  R237 KConfig

REVISION DETAIL
  https://phabricator.kde.org/D20039

AFFECTED FILES
  autotests/kconfigtest.cpp
  autotests/kentrymaptest.cpp
  src/core/kconfig.cpp
  src/core/kconfig_p.h
  src/core/kconfigdata.cpp
  src/core/kconfigdata.h
  src/core/kconfiggroup.cpp
  src/core/kconfiggroup.h

To: broulik, #frameworks, dfaure, davidedmundson
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190325/fc6dd820/attachment.html>


More information about the Kde-frameworks-devel mailing list