<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4435" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current QObject template has all private members exposed<br />
in the class, and there are reasons to use a pimpl variant<br />
instead.<br />
As the current file template logic does not allow to control<br />
the number of files generated (like only generating the private<br />
header if the user toggles a config option), the QObject pimpl<br />
template is a complete separate template.</p>

<p>Both QObject templates share template snippets where useful.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>addQObjectPimplTemplate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4435" rel="noreferrer">https://phabricator.kde.org/D4435</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>file_templates/classes/qobject/class.cpp<br />
file_templates/classes/qobject/class.h<br />
file_templates/classes/qobject_pimpl/class.cpp<br />
file_templates/classes/qobject_pimpl/class.h<br />
file_templates/classes/qobject_pimpl/class_p.h<br />
file_templates/classes/qobject_pimpl/qobject_pimpl.desktop<br />
file_templates/common/class_method_declaration_apidox_cpp.txt<br />
file_templates/common/class_property_getter_definition_cpp.txt<br />
file_templates/common/class_property_setter_definition_cpp.txt<br />
file_templates/common/class_property_signal_declaration_cpp.txt<br />
file_templates/common/class_qproperty_declaration_cpp.txt</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>