Warning, /kdevelop/kdevelop/file_templates/common/class_method_declaration_cpp.txt is written in an unsupported language. File is not indexed.
0001 {# Template for class method declaration #} 0002 {% with method.arguments as arguments %} 0003 {# standard four spaces indentation to match context #} 0004 {% if method.isStatic %}static {% endif %}{% if method.isVirtual and not method.isOverriding %}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 %}{% if method.isVirtual %}{% if method.isFinal %} final{% elif method.isOverriding %} override{% elif method.isAbstract %} = 0{% endif %}{% endif %}; 0005 {% endwith %}