[Differential] [Request, 178 lines] D4435: Feature: Add file template for QObject with pimpl

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Sat Feb 4 21:48:36 UTC 2017


kossebau created this revision.
kossebau added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  The current QObject template has all private members exposed
  in the class, and there are reasons to use a pimpl variant
  instead.
  As the current file template logic does not allow to control
  the number of files generated (like only generating the private
  header if the user toggles a config option), the QObject pimpl
  template is a complete separate template.
  
  Both QObject templates share template snippets where useful.

REPOSITORY
  R32 KDevelop

BRANCH
  addQObjectPimplTemplate

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

AFFECTED FILES
  file_templates/classes/qobject/class.cpp
  file_templates/classes/qobject/class.h
  file_templates/classes/qobject_pimpl/class.cpp
  file_templates/classes/qobject_pimpl/class.h
  file_templates/classes/qobject_pimpl/class_p.h
  file_templates/classes/qobject_pimpl/qobject_pimpl.desktop
  file_templates/common/class_method_declaration_apidox_cpp.txt
  file_templates/common/class_property_getter_definition_cpp.txt
  file_templates/common/class_property_setter_definition_cpp.txt
  file_templates/common/class_property_signal_declaration_cpp.txt
  file_templates/common/class_qproperty_declaration_cpp.txt

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

To: kossebau, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170204/32fa9d8f/attachment.html>


More information about the KDevelop-devel mailing list