summaryrefslogtreecommitdiff
path: root/src/tools/ivigenerator/templates_frontend
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-08-21 14:07:42 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-08-28 09:49:10 +0200
commitfbf59071450f81b7bfd8914cc109ece3c2ba8139 (patch)
treedcf1c6e43d6b48b24ff4972fcdb82b2ec5781298 /src/tools/ivigenerator/templates_frontend
parentf688792fb4e0dccdbabe02d00e9aa00de378a660 (diff)
downloadqtivi-fbf59071450f81b7bfd8914cc109ece3c2ba8139.tar.gz
ivigenerator: Support enums and flags as return values of operations
Also add a generation test, as well as as testing the functionality using QtRO. Change-Id: I9a26ca595fdb9e8522fd3cc01d0b7337e86a1dad Fixes: AUTOSUITE-1190 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/tools/ivigenerator/templates_frontend')
-rw-r--r--src/tools/ivigenerator/templates_frontend/interface.cpp.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ivigenerator/templates_frontend/interface.cpp.tpl b/src/tools/ivigenerator/templates_frontend/interface.cpp.tpl
index 1507ecf..c6a5a63 100644
--- a/src/tools/ivigenerator/templates_frontend/interface.cpp.tpl
+++ b/src/tools/ivigenerator/templates_frontend/interface.cpp.tpl
@@ -385,7 +385,7 @@ void {{class}}::registerQmlTypes(const QString& uri, int majorVersion, int minor
{% endfor %}
{% if operation.type.is_enum or operation.type.is_flag%}
Returns the following values:
- \include {{interface.module|lower}}module_enum.qdocinc {{param.type}}
+ \include {{interface.module|lower}}module_enum.qdocinc {{operation.type}}
{% endif %}
*/
/*!