D27059: KConfigSkeletonItem : allow to set a KconfigGroup to read and write items in nested groups

David Faure noreply at phabricator.kde.org
Sun Feb 16 09:53:17 GMT 2020


dfaure requested changes to this revision.
dfaure added a comment.
This revision now requires changes to proceed.


  Well, I'm not the KConfig maintainer, mdawson is :-)

INLINE COMMENTS

> kcoreconfigskeleton.h:89
> +     */
> +    void setGroup(const KConfigGroup &cg);
> +

Missing @since 5.68

> kcoreconfigskeleton.h:96
> +     * @sa setGroup(KConfigGroup cg)
> +     */
> +    KConfigGroup configGroup(KConfig *config) const;

Missing @since 5.68

> kcoreconfigskeleton.h:448
>      void swapDefault() override;
>      // shadow the method in KConfigSkeletonItem, which should be fine for autogenerated code
>      // KF6 TODO - fix this

So this KF6 TODO is to make those methods virtual? It's a bit unclear to me...

I'm asking because: if the solution is something else then maybe it can be done already for those new methods.

REPOSITORY
  R237 KConfig

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

To: crossi, ervin, dfaure, #frameworks
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200216/6008aec6/attachment.html>


More information about the Kde-frameworks-devel mailing list