diff options
author | Juergen Bocklage-Ryannel <juergen@ryannel.org> | 2019-02-18 11:47:46 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen@ryannel.org> | 2019-02-18 11:47:46 +0100 |
commit | b6d2629c32818bfa59ccb4cd9b46433bc384b5af (patch) | |
tree | 3fafb70a6cf5db69950eedfcac81d61a9cfdb4ea /qface/templates/qface/qtcpp.j2 | |
parent | d2b55248ce8f7ced03eae4b8b80d6f9928bb74e8 (diff) | |
download | qtivi-qface-b6d2629c32818bfa59ccb4cd9b46433bc384b5af.tar.gz |
add new test module
Diffstat (limited to 'qface/templates/qface/qtcpp.j2')
-rw-r--r-- | qface/templates/qface/qtcpp.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qface/templates/qface/qtcpp.j2 b/qface/templates/qface/qtcpp.j2 index 56b81a8..a022e69 100644 --- a/qface/templates/qface/qtcpp.j2 +++ b/qface/templates/qface/qtcpp.j2 @@ -109,6 +109,10 @@ void {{class}}::{{verb}}{{property|upperfirst}}({{ property|qt.parameterType }}) } {%- endmacro %} +{% macro operation_impl_start(class, operation, void=False, doc=True) -%} +{% if not void -%}{{operation|qt.returnType}}{%- else %}void{% endif %} {{class}}::{{operation}}({{operation|qt.parameters}}) +{%- endmacro %} + {% macro operation_decl(operation, ending=";", void=False) -%} {% if void %} virtual void {{operation}}({{operation|qt.parameters}}){{ending}} |