kde-extraapps/kdevelop/file_templates/common/method_definition_cpp.txt
2015-07-26 14:23:17 +03:00

3 lines
No EOL
338 B
Text

{% with method.arguments as arguments %}
{% if not method.isConstructor and not method.isDestructor %}{{ method.returnType|default:"void" }} {% endif %}{{ name }}::{% if method.isConstructor %}{{ name }}{% else %}{{ method.name }}{% endif %}({% include "arguments_types_names.txt" %}){% if method.isConst %} const{% endif %}
{% endwith %}