D24494: Add convenience for defaults/dirty states to KCoreConfigSkeleton
Kevin Ottens
noreply at phabricator.kde.org
Tue Oct 8 14:16:54 BST 2019
ervin created this revision.
ervin added reviewers: Plasma, Frameworks, dfaure, mart.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ervin requested review of this revision.
REVISION SUMMARY
It allows to verify if all the items of the skeleton are in their
default values or if they hold any value deviating from the latest
loaded values from KConfig.
We didn't really need this during the KCModule/QtWidgets time since we
could write KConfigDialogManager just fine without it. But for use with
QML and aiming at having similar magic in KQuickAddons::ConfigModule
such convenience functions will be needed.
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D24494
AFFECTED FILES
autotests/kconfigskeletontest.cpp
src/core/kcoreconfigskeleton.cpp
src/core/kcoreconfigskeleton.h
To: ervin, #plasma, #frameworks, dfaure, mart
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191008/71a9815b/attachment.html>
More information about the Kde-frameworks-devel
mailing list