diff options
author | Juergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com> | 2018-11-01 16:19:54 -0400 |
---|---|---|
committer | Juergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com> | 2018-11-01 17:37:53 -0400 |
commit | 267f694abbc08abb7cc7b0756ba0b4dadc11cf53 (patch) | |
tree | cfbfd1c45aad6f9afe916de329c5da1aaf958bd7 | |
parent | bcf4bf537b6c651429cca73fb775fdbfd7344cd5 (diff) | |
download | qtivi-qface-267f694abbc08abb7cc7b0756ba0b4dadc11cf53.tar.gz |
fix issue with doc line arrays
-rw-r--r-- | qface/templates/qface/qtcpp.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qface/templates/qface/qtcpp.j2 b/qface/templates/qface/qtcpp.j2 index 31c91fe..40309ab 100644 --- a/qface/templates/qface/qtcpp.j2 +++ b/qface/templates/qface/qtcpp.j2 @@ -37,8 +37,8 @@ void {{symbol}}{{postfix}}({{symbol|parameters}}); /*! \qmlproperty {{property.type}} {{class}}::{{property}} {% with doc = property.comment|parse_doc %} - \brief {{doc.brief}} - {{doc.description}} + \brief {{doc.brief|join(" ")}} + {{doc.description|join("\n ")}} {% endwith %} */ void {{class}}::set{{property|upperfirst}}({{ property|parameterType }}) @@ -68,7 +68,7 @@ void {{class}}::set{{property|upperfirst}}({{ property|parameterType }}) \qmlmethod {{operation.type}} {{class}}::{{operation}}({{operation|parameters}}) {% with doc = operation.comment|parse_doc %} \brief {{doc.brief}} - {{doc.description}} + {{doc.description|join("\n ")}} {% endwith %} */ {{operation|returnType}} {{class}}::{{operation}}({{operation|parameters}}) |