kde-extraapps/kdevelop/file_templates/common/method_declaration_cpp.txt

4 lines
414 B
Text
Raw Normal View History

{% 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 %}