/usr/share/kdevcodegen/templates/class_method_declaration_apidox_cpp.txt is in kdevelop-data 4:5.2.1-1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {# Template for api dox in front of class method declaration #}
{% load kdev_filters %}
{% with method.arguments as arguments %}
{# standard four spaces indentation to match context #}
/**
{% if method.isConstructor %}
{% if not arguments %}
* Default constructor
{% else %}
{% with arguments|first as argFirst %}
{% if arguments|length == 1 and argFirst.type == method.name|arg_type %}
* Copy Constructor
{% else %}
* Constructor
{% endif %}
{% endwith %}
{% endif %}
{% elif method.isDestructor %}
* Destructor
{% else %}
* @todo write docs
{% endif %}
{# and > or, so we go here if arguments or (returntype and not constructor/destructor) #}
{% if arguments or method.returnType and not method.isConstructor and not method.isDestructor %}
*
{% endif %}
{% for argument in arguments %}
* @param {{ argument.name }} TODO
{% endfor %}
{% if method.returnType and not method.isConstructor and not method.isDestructor %}
* @return TODO
{% endif %}
*/
{% endwith %}
|