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

3 lines
414 B
Text

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