summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com>2018-11-01 16:19:54 -0400
committerJuergen Bocklage-Ryannel <jbocklage-ryannel@luxoft.com>2018-11-01 17:37:53 -0400
commit267f694abbc08abb7cc7b0756ba0b4dadc11cf53 (patch)
treecfbfd1c45aad6f9afe916de329c5da1aaf958bd7
parentbcf4bf537b6c651429cca73fb775fdbfd7344cd5 (diff)
downloadqtivi-qface-267f694abbc08abb7cc7b0756ba0b4dadc11cf53.tar.gz
fix issue with doc line arrays
-rw-r--r--qface/templates/qface/qtcpp.j26
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}})