File indexing completed on 2024-05-12 04:37:33

0001 {% load kdev_filters %}
0002 {% include "license_header_cpp.txt" %}
0003 
0004 
0005 #include "{{ output_file_header }}"
0006 #include "{{ output_file_privateheader }}"
0007 
0008 
0009 {% include "namespace_use_cpp.txt" %}
0010 
0011 
0012 {{ private_class_name }}::{{ private_class_name }}({{ name }}* q) : q(q)
0013 {
0014 
0015 }
0016 
0017 {{ private_class_name }}::~{{ private_class_name }}()
0018 {
0019 
0020 }
0021 
0022 {% for method in private_functions %}
0023 
0024 {% with method.arguments as arguments %}
0025 {{ method.returnType|default:"void" }} {{ name }}::{{ method.name }}({% include "arguments_types_names.txt" %}){% if method.isConst %} const{% endif %}
0026 {% endwith %}
0027 {
0028 
0029 
0030 }
0031 
0032 {% endfor %}
0033 
0034 {% for method in public_functions %}
0035 
0036 {% include "method_definition_cpp.txt" %}
0037 {% if method.isConstructor %} : {{ private_member_name}}(new {{ private_class_name }}(this)){% endif %}
0038 {
0039     {% if method.isDestructor %}
0040     delete {{ private_member_name }};
0041     {% endif %}
0042 
0043 
0044 }
0045 
0046 {% endfor %}
0047 
0048 {% for method in protected_functions %}
0049 
0050 {% include "method_definition_cpp.txt" %}
0051 {% if method.isConstructor %} : {{ private_member_name}}(new {{ private_class_name }}(this)){% endif %}
0052 {
0053     {% if method.isDestructor %}
0054     delete d;
0055     {% endif %}
0056 
0057 
0058 }
0059 
0060 {% endfor %}