Commit 8be991b1 authored by Christian A. Reiter's avatar Christian A. Reiter Committed by Eike Ziller
Browse files

add $type$ variable to Q_PROPERTY cpp snippet



Task-Number: QTCREATORBUG-7368
Change-Id: I7201a552baa7b9c92e129dcc2cc63cb1a4524dbd
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent c3ef3079
......@@ -71,5 +71,5 @@ case $value$:
default:
break;
}</snippet>
<snippet group="C++" trigger="Q_PROPERTY" id="cpp_q_property">Q_PROPERTY($name$ READ $name$ WRITE set$name$ NOTIFY $name$Changed);</snippet>
<snippet group="C++" trigger="Q_PROPERTY" id="cpp_q_property">Q_PROPERTY($type$ $name$ READ $name$ WRITE set$name$ NOTIFY $name$Changed);</snippet>
</snippets>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment