File: private_header.h

package info (click to toggle)
grantlee5 5.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,004 kB
  • sloc: cpp: 25,617; javascript: 6,043; python: 299; sh: 97; perl: 37; ruby: 24; makefile: 17
file content (24 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base_header.h" %}

{% block includes %}
#include "{{ className|to_public|lower }}.h"
{% endblock %}

{# override the apidox block with nothing #}
{% block apidox %}

{% endblock %}

{% block class_content %}
  {{ className }}Private( {{ className|to_public }} *qq )
    : q_ptr(qq)
  {

  }
  Q_DECLARE_PUBLIC({{ className|to_public }})
  {{ className|to_public  }} * const q_ptr;

{% for property in properties %}
  {{ property.type }} m_{{ property.name }};
{% endfor %}
{% endblock %}