[Differential] [Request, 3 lines] D3636: [kconfig_compiler] Improve documentation about Inherits

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Sat Dec 10 18:29:45 UTC 2016


graesslin created this revision.
graesslin added reviewers: Frameworks, dfaure.

REVISION SUMMARY
  Better specify the requirements the parent class needs to have.
  KConfigCompiler generates different variants of ctors taking either:
  
  - a QStringLiteral argument (name set in <kcfgfile>
  - a KSharedConfig::Ptr argument (arg="true" in <kcfgfile>)
  - no argument (Inherits=true in kcfgc and no <kcfgfile>)
  
  In order to have Inherits generate compiling code in all cases the
  parent class needs to provide accessible ctors.
  
  This change updates the docuementation to reflect this.

REPOSITORY
  R237 KConfig

BRANCH
  inherits-readme-improvement

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

AFFECTED FILES
  src/kconfig_compiler/README.dox

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #frameworks, dfaure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161210/ab6ff9a5/attachment.html>


More information about the Kde-frameworks-devel mailing list