File indexing completed on 2024-05-05 04:37:27
0001 {% extends "cpp_header.h" %} 0002 0003 {% block includes %} 0004 {{ block.super }} 0005 {% if not base_classes %} 0006 {% block qobject_default_include %} 0007 {% endblock qobject_default_include %} 0008 {% endif %} 0009 {% endblock includes %} 0010 0011 0012 {% block forward_declarations %} 0013 class {{ name }}Private; 0014 {% endblock forward_declarations %} 0015 0016 0017 {% block class_declaration_open %} 0018 {% if base_classes %} 0019 {{ block.super }} 0020 {% else %} 0021 {% include "class_declaration_apidox_cpp.txt" %} 0022 class {{ name }} : public {% block qobject_baseclass %}QObject{% endblock qobject_baseclass %} 0023 { 0024 {% endif %} 0025 {% endblock class_declaration_open %} 0026 0027 0028 {% block class_body %} 0029 {% block qobject_body_header %} 0030 Q_OBJECT 0031 {% for property in members %} 0032 {% include "class_qproperty_declaration_cpp.txt" %} 0033 {% endfor %} 0034 {% endblock qobject_body_header %} 0035 0036 0037 {% if public_functions or members %} 0038 public: 0039 {% endif %} 0040 {% for method in public_functions %} 0041 0042 {% include "class_method_declaration_apidox_cpp.txt" %} 0043 {% include "class_method_declaration_cpp.txt" %} 0044 0045 {% endfor %} 0046 0047 {% for property in members %} 0048 0049 {% include "class_property_getter_declaration_apidox_cpp.txt" %} 0050 {% include "class_property_getter_declaration_cpp.txt" %} 0051 0052 {% endfor %} 0053 0054 0055 {% if members %} 0056 public Q_SLOTS: 0057 {% for property in members %} 0058 0059 {% include "class_property_setter_declaration_apidox_cpp.txt" %} 0060 {% include "class_property_setter_declaration_cpp.txt" %} 0061 0062 {% endfor %} 0063 0064 Q_SIGNALS: 0065 {% for property in members %} 0066 0067 {% include "class_property_signal_declaration_cpp.txt" %} 0068 0069 {% endfor %} 0070 {% endif %} 0071 0072 0073 {% if protected_functions %} 0074 protected: 0075 {% for method in protected_functions %} 0076 0077 {% include "class_method_declaration_apidox_cpp.txt" %} 0078 {% include "class_method_declaration_cpp.txt" %} 0079 0080 {% endfor %} 0081 {% endif %} 0082 0083 0084 private: 0085 {{ name }}Private* const d_ptr; 0086 Q_DECLARE_PRIVATE({{ name }}) 0087 {% endblock class_body %}