diff options
author | Juergen Bocklage-Ryannel <juergen@ryannel.org> | 2019-02-18 11:47:46 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@googlemail.com> | 2022-01-27 13:50:04 +0100 |
commit | cee12d7983826661c34e889579f1fd9b7a846bc4 (patch) | |
tree | 3fafb70a6cf5db69950eedfcac81d61a9cfdb4ea /qface | |
parent | 58e0cfa7a4a830729a17161a6e7171e7d00dabf5 (diff) | |
download | qtivi-qface-cee12d7983826661c34e889579f1fd9b7a846bc4.tar.gz |
add new test module
Diffstat (limited to 'qface')
-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}} |