D27133: kconfig_compiler : generate kconfig settings with subgroup

Méven Car noreply at phabricator.kde.org
Wed Feb 5 09:12:49 GMT 2020


meven added inline comments.

INLINE COMMENTS

> KConfigSourceGenerator.cpp:335
> +    // TODO : what happened when same group is repeated ?
> +    if (mCurrentGroup.contains(QStringLiteral("\u241D"))) {
> +        stream() << "  " << itemPath(entry, cfg()) << "->setGroup(cg" << QString(entry->group.split(QStringLiteral("\u241D")).last()).remove(QRegExp(QStringLiteral("\\W"))) << ");\n";

This character won't be easy on the user.
Ideally we perhaps would want to allow users to add <group key><group key> </group></group>
We could use alternatively attributes.

REPOSITORY
  R237 KConfig

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

To: crossi, ervin, dfaure, #frameworks
Cc: meven, 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/20200205/c5c3982c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list