Review Request 111908: Add KConfigLoader from Plasma Framework to KConfigGui
David Faure
faure at kde.org
Wed Aug 7 15:41:41 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111908/#review37284
-----------------------------------------------------------
tier1/kconfig/autotests/kconfigloadertest.cpp
<http://git.reviewboard.kde.org/r/111908/#comment27591>
I have trouble understanding the purpose of this class. How is this different from
QCOMPARE(configGroup.readEntry("DefaultBoolItem", true), true);
?
OK the one difference is that the default value comes from the XML file instead of coming from the code, but apart from that?
KConfigXT's entire purpose was to make things statically checked (compile-time), on top of the dynamic (string-based) KConfig. And now this is another layer on top, which makes things dynamic (string-based) again? I'm confused :-)
Ah, is this actually only about introspecting KConfigXT xml files, to extract the defaults from it? But what would be the purpose of that? (isn't this accessible in the KConfigXT-generated code too?)
Please expand the class documentation to make it clear for dummies like me, what is the actual purpose of the class, and in which case it should be used.
- David Faure
On Aug. 6, 2013, 12:25 p.m., Martin Gräßlin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111908/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 12:25 p.m.)
>
>
> Review request for KDE Frameworks and Plasma.
>
>
> Description
> -------
>
> Add KConfigLoader from Plasma Framework to KConfigGui
>
> The ConfigLoader is way to awesome to not be directly in KConfig.
>
>
> Diffs
> -----
>
> tier1/kconfig/autotests/CMakeLists.txt PRE-CREATION
> tier1/kconfig/autotests/kconfigloadertest.h PRE-CREATION
> tier1/kconfig/autotests/kconfigloadertest.cpp PRE-CREATION
> tier1/kconfig/autotests/kconfigloadertest.xml PRE-CREATION
> tier1/kconfig/src/gui/CMakeLists.txt PRE-CREATION
> tier1/kconfig/src/gui/kconfigloader.h PRE-CREATION
> tier1/kconfig/src/gui/kconfigloader.cpp PRE-CREATION
> tier1/kconfig/src/gui/kconfigloader_p.h PRE-CREATION
> tier1/kconfig/src/gui/kconfigloaderhandler_p.h PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/111908/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Martin Gräßlin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130807/f68d4a6d/attachment.html>
More information about the Kde-frameworks-devel
mailing list