[KConfig] Add Notify capability for revertToDefault
ClosedPublic

Authored by broulik on Mar 25 2019, 11:46 AM.

Details

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

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Mar 25 2019, 11:46 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 25 2019, 11:46 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.Mar 25 2019, 11:46 AM
This revision is now accepted and ready to land.Mar 25 2019, 11:59 AM
This revision was automatically updated to reflect the committed changes.