~ubuntu-branches/ubuntu/precise/grantlee/precise

« back to all changes in this revision

Viewing changes to examples/codegen/templates/cpp/private_header.h

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2010-06-11 23:41:45 UTC
  • Revision ID: james.westby@ubuntu.com-20100611234145-oas7rhdrbwy8j55c
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base_header.h" %}
 
2
 
 
3
{% block includes %}#include "{{ className|to_public|lower }}.h"
 
4
{% endblock %}
 
5
 
 
6
{# override the apidox block with nothing #}
 
7
{% block apidox %}{% endblock %}
 
8
 
 
9
{% block class_content %}  Q_DECLARE_PUBLIC({{ className|to_public }})
 
10
  {{ className|to_public  }} * const q_ptr;
 
11
  {{ className }}Private( {{ className|to_public }} *qq )
 
12
    : {% if baseclass %}{{ baseClass }}(),
 
13
      {% endif %}q_ptr(qq)
 
14
  {
 
15
 
 
16
  }
 
17
 
 
18
{% for property in properties %}
 
19
  {{ property.type }} m_{{ property.name }};{% endfor %}{% endblock %}