summaryrefslogtreecommitdiff
path: root/qface/templates/qface/qtcpp.j2
diff options
context:
space:
mode:
Diffstat (limited to 'qface/templates/qface/qtcpp.j2')
-rw-r--r--qface/templates/qface/qtcpp.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/qface/templates/qface/qtcpp.j2 b/qface/templates/qface/qtcpp.j2
index 31c91fe..e522233 100644
--- a/qface/templates/qface/qtcpp.j2
+++ b/qface/templates/qface/qtcpp.j2
@@ -26,7 +26,7 @@ void set{{property|upperfirst}}({{ property|parameterType }}){{ending}}
{%- endmacro %}
{% macro signal_decl(symbol, postfix="") -%}
-void {{symbol}}{{postfix}}({{symbol|parameters}});
+void {{symbol}}{{postfix}}();
{%- endmacro %}
{% macro property_member_decl(property) -%}
@@ -46,7 +46,7 @@ void {{class}}::set{{property|upperfirst}}({{ property|parameterType }})
{% if notifiable %}
if (m_{{property}} != {{property}}) {
m_{{property}} = {{property}};
- Q_EMIT {{property}}Changed({{property}});
+ Q_EMIT {{property}}Changed();
}
{% else %}
m_{{property}} = {{property}};