Changeset View
Changeset View
Standalone View
Standalone View
file_templates/classes/qdialog_pimpl/class_p.h
1 | {% extends "cpp_header.h" %} | 1 | {% extends "cpp_qobject_pimpl_p_header.h" %} | ||
---|---|---|---|---|---|
2 | {% load kdev_filters %} | | |||
3 | | ||||
4 | | ||||
5 | {% block include_guard_open %} | | |||
6 | {% with "_P_H" as include_guard_suffix %} | | |||
7 | #ifndef {% include "include_guard_cpp.txt" %} | | |||
8 | #define {% include "include_guard_cpp.txt" %} | | |||
9 | {% endwith %} | | |||
10 | {% endblock include_guard_open %} | | |||
11 | 2 | | |||
12 | 3 | | |||
13 | {% block includes %} | 4 | {% block includes %} | ||
14 | #include "ui_{{ output_file_ui|cut:".ui" }}.h" | 5 | #include "ui_{{ output_file_ui|cut:".ui" }}.h" | ||
15 | {% endblock includes %} | 6 | {% endblock includes %} | ||
16 | 7 | | |||
17 | 8 | | |||
18 | {% block class_declaration_open %} | | |||
19 | {% include "class_declaration_apidox_cpp.txt" %} | | |||
20 | class {{ name }}Private | | |||
21 | { | | |||
22 | {% endblock class_declaration_open %} | | |||
23 | | ||||
24 | {% block class_body %} | 9 | {% block class_body %} | ||
25 | public: | 10 | {{ block.super }} | ||
26 | {% for method in private_functions %} | | |||
27 | | ||||
28 | {% include "class_method_declaration_apidox_cpp.txt" %} | | |||
29 | {% include "class_method_declaration_cpp.txt" %} | | |||
30 | | ||||
31 | {% endfor %} | | |||
32 | | ||||
33 | {% for property in members %} | | |||
34 | {{property.type}} {{property.name}}; | | |||
35 | | ||||
36 | {% endfor %} | | |||
37 | 11 | | |||
38 | Ui::{{ name }} ui; | 12 | Ui::{{ name }} ui; | ||
39 | {% endblock class_body %} | 13 | {% endblock class_body %} | ||
40 | | ||||
41 | {% block include_guard_close %} | | |||
42 | {% with "_P_H" as include_guard_suffix %} | | |||
43 | #endif // {% include "include_guard_cpp.txt" %} | | |||
44 | {% endwith %} | | |||
45 | {% endblock include_guard_close %} | |